Documentation
¶
Index ¶
- Constants
- func Add(dst, s []float32)
- func AddConst(dst []float32, c float32)
- func AddTo(a, b, dst []float32)
- func Div(dst, s []float32)
- func DivTo(a, b, c []float32)
- func Dot(a, b []float32) (ret float32)
- func Euclidean(a, b []float32) float32
- func MM(transA, transB bool, m, n, k int, a []float32, lda int, b []float32, ldb int, ...)
- func MatZero(x [][]float32)
- func MulAddTo(a, b, c []float32)
- func MulConst(dst []float32, c float32)
- func MulConstAdd(a []float32, c float32, dst []float32)
- func MulConstAddTo(a []float32, c float32, b, dst []float32)
- func MulConstTo(a []float32, c float32, dst []float32)
- func MulTo(a, b, c []float32)
- func Sqrt(a []float32)
- func SqrtTo(a, b []float32)
- func Sub(dst, s []float32)
- func SubTo(a, b, dst []float32)
- func Zero(a []float32)
- type Feature
Constants ¶
View Source
const AVX512 = AVX | FMA | AVX512F
Variables ¶
This section is empty.
Functions ¶
func AddTo ¶
func AddTo(a, b, dst []float32)
AddTo adds two vectors and saves the result in dst: dst = a + b
func MulAddTo ¶
func MulAddTo(a, b, c []float32)
MulAddTo multiplies a vector and a vector, then adds to a vector: c += a * b
func MulConstAdd ¶
MulConstAddTo multiplies a vector and a const, then adds to dst: dst = dst + a * c
func MulConstAddTo ¶
func MulConstTo ¶
MulConstTo multiplies a vector and a const, then saves the result in dst: dst = a * c
Types ¶
Click to show internal directories.
Click to hide internal directories.