Versions in this module Expand all Collapse all v0 v0.25.2 Jun 5, 2025 Changes in this version + const NoTranspose + const Transpose + func Abs(x float32) float32 + func Add(dst []float32, s []float32) + func AddTo(dst []float32, s []float32, t []float32) []float32 + func Dot(s []float32, t []float32) float32 + func IsNaN(v float32) bool + func L1Distance(s []float32, t []float32) float32 + func L2Distance(s, t []float32) float32 + func L2SquaredDistance(s, t []float32) float32 + func Max(s []float32) float32 + func MaxIdx(s []float32) int + func Min(s []float32) float32 + func MinIdx(s []float32) int + func Mul(dst []float32, s []float32) + func MulMatrixByVector(matrix *Matrix, s []float32, dst []float32, transpose MatrixTranspose) []float32 + func MulTo(dst []float32, s []float32, t []float32) []float32 + func Norm(t []float32) float32 + func Round(dst []float32, prec int) + func Scale(c float32, dst []float32) + func ScaleTo(dst []float32, c float32, s []float32) []float32 + func Sqrt(x float32) float32 + func Sub(dst []float32, s []float32) + func SubTo(dst []float32, s []float32, t []float32) []float32 + func Sum(x []float32) float32 + func Zero(dst []float32) + type Matrix = blas32.General + func MakeRandomOrthoMatrix(rng *rand.Rand, dims int) Matrix + type MatrixTranspose byte