Documentation ¶
Index ¶
- func Add(dst, s []float32)
- func AddTo(a, b, dst []float32)
- func Div(dst, s []float32)
- func Dot(a, b []float32) (ret float32)
- func MatZero(x [][]float32)
- func MulAddTo(a, b, c []float32)
- func MulConst(dst []float32, c float32)
- func MulConstAddTo(a []float32, c float32, dst []float32)
- func MulConstTo(a []float32, c float32, dst []float32)
- func MulTo(a, b, c []float32)
- func Sub(dst, s []float32)
- func SubTo(a, b, dst []float32)
- func Zero(a []float32)
Constants ¶
This section is empty.
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 MulConstAddTo ¶
MulConstAddTo multiplies a vector and a const, then adds to dst: dst = dst + a * c
func MulConstTo ¶
MulConstTo multiplies a vector and a const, then saves the result in dst: dst = a * c
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.