package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Apr 17, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Add(dst, s []float64)
-
func Div(dst, s []float64)
-
func Dot(a, b []float64) float64
-
func Mul(dst, s []float64)
-
func MulConst(dst []float64, c float64)
-
func MulConstAddTo(a []float64, c float64, dst []float64)
-
func MulConstTo(a []float64, c float64, dst []float64)
-
func Sub(dst, s []float64)
-
func SubTo(a, b, dst []float64)
Add two vectors: dst = dst + s
Div one vectors by another: dst = dst / s
Mul two vectors: dst = dst * s
MulConst multiplies a vector with a const: dst = dst * c
Sub one vector by another: dst = dst - s
SubTo subtracts one vector by another and saves the result in dst: dst = a - b
Source Files
¶
Click to show internal directories.
Click to hide internal directories.