Versions in this module Expand all Collapse all v0 v0.0.0 Aug 8, 2021 Changes in this version + func Add(m, n mat.Matrix) (*mat.Dense, error) + func Apply(fn func(i, j int, v float64) float64, m mat.Matrix) (d *mat.Dense, err error) + func Dot(m, n mat.Matrix) (d *mat.Dense, err error) + func FillArray(size int, fill float64) []float64 + func FromVector(v []float64) (*mat.Dense, error) + func MulElem(m, n mat.Matrix) (*mat.Dense, error) + func New(r, c int, data []float64) (*mat.Dense, error) + func OptRandomArraySource(src rand.Source) func(*RandomArrayCfg) + func RandomArray(size int, v float64, opts ...func(*RandomArrayCfg)) []float64 + func Scale(s float64, m mat.Matrix) (*mat.Dense, error) + func Sub(m, n mat.Matrix) (*mat.Dense, error) + func ToVector(m mat.Matrix) (v []float64, err error) + type RandomArrayCfg struct + Src rand.Source