Versions in this module Expand all Collapse all v1 v1.0.0 Jan 12, 2022 Changes in this version + func GenerateRandom(reader io.Reader, n int) (Matrix, Matrix) + func LessThan(i, j Row) bool + type DeductiveMatrix struct + func NewDeductiveMatrix(n int) DeductiveMatrix + func (dm *DeductiveMatrix) Assert(in, out Row) (learned bool) + func (dm *DeductiveMatrix) Dup() DeductiveMatrix + func (dm *DeductiveMatrix) FullyDefined() bool + func (dm *DeductiveMatrix) Inverse() Matrix + func (dm *DeductiveMatrix) IsInDomain(x Row) bool + func (dm *DeductiveMatrix) IsInSpan(y Row) bool + func (dm *DeductiveMatrix) Matrix() Matrix + func (dm *DeductiveMatrix) NovelInput() Row + func (dm *DeductiveMatrix) NovelOutput() Row + type IncrementalMatrix struct + func NewIncrementalMatrix(n int) IncrementalMatrix + func (im *IncrementalMatrix) Add(raw Row) bool + func (im *IncrementalMatrix) Dup() IncrementalMatrix + func (im *IncrementalMatrix) FullyDefined() bool + func (im *IncrementalMatrix) Inverse() Matrix + func (im *IncrementalMatrix) IsInSpan(in Row) bool + func (im *IncrementalMatrix) Len() int + func (im *IncrementalMatrix) Less(i, j int) bool + func (im *IncrementalMatrix) Matrix() Matrix + func (im *IncrementalMatrix) Novel() Row + func (im *IncrementalMatrix) Swap(i, j int) + type Matrix []Row + func GenerateEmpty(n, m int) Matrix + func GenerateIdentity(n int) Matrix + func GenerateTrueRandom(reader io.Reader, n int) Matrix + func (e Matrix) Add(f Matrix) Matrix + func (e Matrix) Compose(f Matrix) Matrix + func (e Matrix) Dup() Matrix + func (e Matrix) Equals(f Matrix) bool + func (e Matrix) FindPivot(row, col int) int + func (e Matrix) GoString() string + func (e Matrix) Invert() (Matrix, bool) + func (e Matrix) IsBinary() bool + func (e Matrix) LeftStretch() Matrix + func (e Matrix) Mul(f Row) Row + func (e Matrix) NullSpace() (basis []Row) + func (e Matrix) OctaveString() string + func (e Matrix) RightStretch() Matrix + func (e Matrix) Size() (int, int) + func (e Matrix) String() string + func (e Matrix) Transpose() Matrix + type Row []number.ByteFieldElem + func GenerateRandomBinaryRow(reader io.Reader, n int) Row + func GenerateRandomRow(reader io.Reader, n int) Row + func NewRow(n int) Row + func (e Row) Add(f Row) Row + func (e Row) DotProduct(f Row) number.ByteFieldElem + func (e Row) Dup() Row + func (e Row) Equals(f Row) bool + func (e Row) Height() int + func (e Row) IsPermutation() bool + func (e Row) IsZero() bool + func (e Row) OctaveString() string + func (e Row) ScalarMul(f number.ByteFieldElem) Row + func (e Row) Size() int + func (e Row) String() string