SYMBOL INDEX (247 symbols across 22 files) FILE: arithmetic.go function Sum (line 12) | func Sum(A MatrixRO, Bs ...MatrixRO) (C *DenseMatrix) { function Difference (line 30) | func Difference(A, B MatrixRO) (C *DenseMatrix) { function Product (line 42) | func Product(A MatrixRO, Bs ...MatrixRO) (C *DenseMatrix) { function Transpose (line 56) | func Transpose(A MatrixRO) (B Matrix) { function Inverse (line 69) | func Inverse(A MatrixRO) (B Matrix) { function Kronecker (line 89) | func Kronecker(A, B MatrixRO) (C *DenseMatrix) { function Vectorize (line 102) | func Vectorize(Am MatrixRO) (V *DenseMatrix) { function Unvectorize (line 108) | func Unvectorize(V MatrixRO, rows, cols int) (A *DenseMatrix) { function ParallelProduct (line 117) | func ParallelProduct(A, B MatrixRO) (C *DenseMatrix) { function Scaled (line 166) | func Scaled(A MatrixRO, f float64) (B *DenseMatrix) { function Equals (line 175) | func Equals(A, B MatrixRO) bool { function ApproxEquals (line 193) | func ApproxEquals(A, B MatrixRO, ε float64) bool { FILE: dense.go type DenseMatrix (line 14) | type DenseMatrix struct method Arrays (line 26) | func (A *DenseMatrix) Arrays() [][]float64 { method Array (line 37) | func (A *DenseMatrix) Array() []float64 { method rowSlice (line 50) | func (A *DenseMatrix) rowSlice(row int) []float64 { method Get (line 57) | func (A *DenseMatrix) Get(i int, j int) (v float64) { method Set (line 78) | func (A *DenseMatrix) Set(i int, j int, v float64) { method GetMatrix (line 98) | func (A *DenseMatrix) GetMatrix(i, j, rows, cols int) *DenseMatrix { method SetMatrix (line 110) | func (A *DenseMatrix) SetMatrix(i, j int, B *DenseMatrix) { method GetColVector (line 118) | func (A *DenseMatrix) GetColVector(j int) *DenseMatrix { method GetRowVector (line 122) | func (A *DenseMatrix) GetRowVector(i int) *DenseMatrix { method L (line 129) | func (A *DenseMatrix) L() *DenseMatrix { method U (line 142) | func (A *DenseMatrix) U() *DenseMatrix { method Copy (line 152) | func (A *DenseMatrix) Copy() *DenseMatrix { method Augment (line 167) | func (A *DenseMatrix) Augment(B *DenseMatrix) (C *DenseMatrix, err err... method AugmentFill (line 176) | func (A *DenseMatrix) AugmentFill(B, C *DenseMatrix) (err error) { method Stack (line 198) | func (A *DenseMatrix) Stack(B *DenseMatrix) (C *DenseMatrix, err error) { method StackFill (line 207) | func (A *DenseMatrix) StackFill(B, C *DenseMatrix) (err error) { method SparseMatrix (line 230) | func (A *DenseMatrix) SparseMatrix() *SparseMatrix { method DenseMatrix (line 243) | func (A *DenseMatrix) DenseMatrix() *DenseMatrix { method String (line 345) | func (A *DenseMatrix) String() string { return String(A) } function Zeros (line 247) | func Zeros(rows, cols int) *DenseMatrix { function Ones (line 256) | func Ones(rows, cols int) *DenseMatrix { function Numbers (line 270) | func Numbers(rows, cols int, num float64) *DenseMatrix { function Eye (line 285) | func Eye(span int) *DenseMatrix { function Normals (line 293) | func Normals(rows, cols int) *DenseMatrix { function Diagonal (line 305) | func Diagonal(d []float64) *DenseMatrix { function MakeDenseCopy (line 314) | func MakeDenseCopy(A MatrixRO) *DenseMatrix { function MakeDenseMatrix (line 324) | func MakeDenseMatrix(elements []float64, rows, cols int) *DenseMatrix { function MakeDenseMatrixStacked (line 333) | func MakeDenseMatrixStacked(data [][]float64) *DenseMatrix { FILE: dense_arithmetic.go method Plus (line 9) | func (A *DenseMatrix) Plus(B MatrixRO) (Matrix, error) { method PlusDense (line 14) | func (A *DenseMatrix) PlusDense(B *DenseMatrix) (*DenseMatrix, error) { method Minus (line 20) | func (A *DenseMatrix) Minus(B MatrixRO) (Matrix, error) { method MinusDense (line 26) | func (A *DenseMatrix) MinusDense(B *DenseMatrix) (*DenseMatrix, error) { method Add (line 32) | func (A *DenseMatrix) Add(B MatrixRO) error { method AddDense (line 48) | func (A *DenseMatrix) AddDense(B *DenseMatrix) error { method Subtract (line 62) | func (A *DenseMatrix) Subtract(B MatrixRO) error { method SubtractDense (line 82) | func (A *DenseMatrix) SubtractDense(B *DenseMatrix) error { method Times (line 102) | func (A *DenseMatrix) Times(B MatrixRO) (Matrix, error) { type parJob (line 126) | type parJob struct function parTimes1 (line 130) | func parTimes1(A, B, C *DenseMatrix) { function parTimes2 (line 167) | func parTimes2(A, B, C *DenseMatrix) { method TimesDense (line 224) | func (A *DenseMatrix) TimesDense(B *DenseMatrix) (C *DenseMatrix, err er... method TimesDenseFill (line 229) | func (A *DenseMatrix) TimesDenseFill(B, C *DenseMatrix) (err error) { function transposeTimes (line 260) | func transposeTimes(A, B, C *DenseMatrix) { method ElementMult (line 278) | func (A *DenseMatrix) ElementMult(B MatrixRO) (Matrix, error) { method ElementMultDense (line 284) | func (A *DenseMatrix) ElementMultDense(B *DenseMatrix) (*DenseMatrix, er... method Scale (line 290) | func (A *DenseMatrix) Scale(f float64) { method ScaleMatrix (line 300) | func (A *DenseMatrix) ScaleMatrix(B MatrixRO) error { method ScaleMatrixDense (line 318) | func (A *DenseMatrix) ScaleMatrixDense(B *DenseMatrix) error { FILE: dense_basic.go method Symmetric (line 12) | func (A *DenseMatrix) Symmetric() bool { method SwapRows (line 26) | func (m *DenseMatrix) SwapRows(r1 int, r2 int) { method ScaleRow (line 36) | func (m *DenseMatrix) ScaleRow(r int, f float64) { method ScaleAddRow (line 44) | func (m *DenseMatrix) ScaleAddRow(rd int, rs int, f float64) { method Inverse (line 54) | func (A *DenseMatrix) Inverse() (*DenseMatrix, error) { method Det (line 84) | func (A *DenseMatrix) Det() float64 { method Trace (line 90) | func (A *DenseMatrix) Trace() float64 { return sum(A.DiagonalCopy()) } method OneNorm (line 92) | func (A *DenseMatrix) OneNorm() (ε float64) { method TwoNorm (line 101) | func (A *DenseMatrix) TwoNorm() float64 { method InfinityNorm (line 112) | func (A *DenseMatrix) InfinityNorm() (ε float64) { method Transpose (line 121) | func (A *DenseMatrix) Transpose() *DenseMatrix { method TransposeInPlace (line 131) | func (A *DenseMatrix) TransposeInPlace() (err error) { function solveLower (line 146) | func solveLower(A *DenseMatrix, b Matrix) *DenseMatrix { function solveUpper (line 159) | func solveUpper(A *DenseMatrix, b Matrix) *DenseMatrix { method Solve (line 171) | func (A *DenseMatrix) Solve(b MatrixRO) (*DenseMatrix, error) { method SolveDense (line 186) | func (A *DenseMatrix) SolveDense(b *DenseMatrix) (*DenseMatrix, error) { FILE: dense_data.go method RowCopy (line 8) | func (A *DenseMatrix) RowCopy(i int) []float64 { method ColCopy (line 17) | func (A *DenseMatrix) ColCopy(j int) []float64 { method DiagonalCopy (line 26) | func (A *DenseMatrix) DiagonalCopy() []float64 { method BufferRow (line 38) | func (A *DenseMatrix) BufferRow(i int, buf []float64) { method BufferCol (line 44) | func (A *DenseMatrix) BufferCol(j int, buf []float64) { method BufferDiagonal (line 50) | func (A *DenseMatrix) BufferDiagonal(buf []float64) { method FillRow (line 56) | func (A *DenseMatrix) FillRow(i int, buf []float64) { method FillCol (line 62) | func (A *DenseMatrix) FillCol(j int, buf []float64) { method FillDiagonal (line 68) | func (A *DenseMatrix) FillDiagonal(buf []float64) { FILE: dense_decomp.go method Cholesky (line 12) | func (A *DenseMatrix) Cholesky() (L *DenseMatrix, err error) { method LU (line 50) | func (A *DenseMatrix) LU() (L, U *DenseMatrix, P *PivotMatrix) { method LUInPlace (line 70) | func (A *DenseMatrix) LUInPlace() (P *PivotMatrix) { method QR (line 124) | func (A *DenseMatrix) QR() (Q, R *DenseMatrix) { FILE: dense_eigen.go method Eigen (line 12) | func (A *DenseMatrix) Eigen() (V, D *DenseMatrix, err error) { function makeD (line 41) | func makeD(d []float64, e []float64) *DenseMatrix { function tred2 (line 59) | func tred2(V [][]float64, d []float64, e []float64) { function tql2 (line 176) | func tql2(V [][]float64, d []float64, e []float64) { function orthes (line 298) | func orthes(V [][]float64, d []float64, e []float64, H [][]float64, ort ... function hqr2 (line 395) | func hqr2(V [][]float64, d []float64, e []float64, H [][]float64, ort []... function cdiv (line 850) | func cdiv(xr float64, xi float64, yr float64, yi float64) (cdivr float64... FILE: dense_svd.go method SVD (line 12) | func (Arg *DenseMatrix) SVD() (theU, Σ, theV *DenseMatrix, err error) { FILE: dense_test.go constant ε (line 14) | ε = 0.000001 constant verbose (line 15) | verbose = false constant speedTest (line 16) | speedTest = true function TestEquals (line 20) | func TestEquals(t *testing.T) { function TestApproximates (line 32) | func TestApproximates(t *testing.T) { function TestAdd (line 42) | func TestAdd(t *testing.T) { function TestSubtract (line 58) | func TestSubtract(t *testing.T) { function TestProduct (line 74) | func TestProduct(t *testing.T) { function TestParallelProduct (line 115) | func TestParallelProduct(t *testing.T) { function TestTimesDenseProcs (line 159) | func TestTimesDenseProcs(t *testing.T) { function TestElementMult (line 174) | func TestElementMult(t *testing.T) { function TestScale (line 206) | func TestScale(t *testing.T) { function TestScaleMatrix (line 221) | func TestScaleMatrix(t *testing.T) { function TestSymmetric (line 238) | func TestSymmetric(t *testing.T) { function TestInverse (line 261) | func TestInverse(t *testing.T) { function TestDet (line 288) | func TestDet(t *testing.T) { function TestTrace (line 303) | func TestTrace(t *testing.T) { function TestTranspose (line 318) | func TestTranspose(t *testing.T) { function TestSolve (line 330) | func TestSolve(t *testing.T) { function TestCholesky (line 353) | func TestCholesky(t *testing.T) { function TestLU (line 368) | func TestLU(t *testing.T) { function TestQR (line 422) | func TestQR(t *testing.T) { function TestEigen (line 456) | func TestEigen(t *testing.T) { function TestSVD (line 503) | func TestSVD(t *testing.T) { function TestGetMatrix (line 526) | func TestGetMatrix(t *testing.T) { function TestL (line 535) | func TestL(t *testing.T) { function TestU (line 571) | func TestU(t *testing.T) { function TestAugment (line 607) | func TestAugment(t *testing.T) { function TestStack (line 653) | func TestStack(t *testing.T) { function TestZeros (line 702) | func TestZeros(t *testing.T) { function TestNumbers (line 713) | func TestNumbers(t *testing.T) { function TestOnes (line 728) | func TestOnes(t *testing.T) { function TestEye (line 740) | func TestEye(t *testing.T) { function TestNormals (line 752) | func TestNormals(t *testing.T) { function TestKronecker (line 760) | func TestKronecker(t *testing.T) { function TestVectorize (line 773) | func TestVectorize(t *testing.T) { function TestSubmatrix (line 782) | func TestSubmatrix(t *testing.T) { FILE: densebench_test.go function BenchmarkTransposeTimes (line 9) | func BenchmarkTransposeTimes(b *testing.B) { FILE: error.go constant errorNilMatrix (line 11) | errorNilMatrix = iota + 1 constant errorDimensionMismatch (line 13) | errorDimensionMismatch constant errorIllegalIndex (line 15) | errorIllegalIndex constant exceptionSingular (line 17) | exceptionSingular constant exceptionNotSPD (line 19) | exceptionNotSPD type error_ (line 22) | type error_ method Error (line 24) | func (e error_) Error() string { method String (line 39) | func (e error_) String() string { FILE: matrix.go type MatrixRO (line 22) | type MatrixRO interface type Matrix (line 58) | type Matrix interface type matrix (line 69) | type matrix struct method Nil (line 74) | func (A *matrix) Nil() bool { return A == nil } method Rows (line 76) | func (A *matrix) Rows() int { return A.rows } method Cols (line 78) | func (A *matrix) Cols() int { return A.cols } method NumElements (line 80) | func (A *matrix) NumElements() int { return A.rows * A.cols } method GetSize (line 82) | func (A *matrix) GetSize() (rows, cols int) { function ParseMatlab (line 93) | func ParseMatlab(txt string) (A *DenseMatrix, err error) { function String (line 180) | func String(A MatrixRO) string { FILE: matrix_test.go function TestParse (line 7) | func TestParse(t *testing.T) { FILE: pivot.go type PivotMatrix (line 11) | type PivotMatrix struct method Get (line 17) | func (P *PivotMatrix) Get(i, j int) float64 { method DenseMatrix (line 35) | func (P *PivotMatrix) DenseMatrix() *DenseMatrix { method SparseMatrix (line 46) | func (P *PivotMatrix) SparseMatrix() *SparseMatrix { method Copy (line 57) | func (P *PivotMatrix) Copy() *PivotMatrix { return MakePivotMatrix(P.p... method String (line 69) | func (A *PivotMatrix) String() string { return String(A) } function MakePivotMatrix (line 59) | func MakePivotMatrix(pivots []int, pivotSign float64) *PivotMatrix { FILE: pivot_arithmetic.go method Minus (line 7) | func (P *PivotMatrix) Minus(A MatrixRO) (Matrix, error) { method Plus (line 16) | func (P *PivotMatrix) Plus(A MatrixRO) (Matrix, error) { method Times (line 28) | func (P *PivotMatrix) Times(A MatrixRO) (Matrix, error) { method TimesPivot (line 47) | func (P *PivotMatrix) TimesPivot(A *PivotMatrix) (*PivotMatrix, error) { method RowPivotDense (line 65) | func (P *PivotMatrix) RowPivotDense(A *DenseMatrix) (*DenseMatrix, error) { method ColPivotDense (line 84) | func (P *PivotMatrix) ColPivotDense(A *DenseMatrix) (*DenseMatrix, error) { method RowPivotSparse (line 103) | func (P *PivotMatrix) RowPivotSparse(A *SparseMatrix) (*SparseMatrix, er... method ColPivotSparse (line 120) | func (P *PivotMatrix) ColPivotSparse(A *SparseMatrix) (*SparseMatrix, er... FILE: pivot_basic.go method SwapRows (line 12) | func (P *PivotMatrix) SwapRows(r1, r2 int) error { method Symmetric (line 22) | func (P *PivotMatrix) Symmetric() bool { method Inverse (line 31) | func (A *PivotMatrix) Inverse() *PivotMatrix { return A.Transpose() } method Transpose (line 33) | func (P *PivotMatrix) Transpose() *PivotMatrix { method Det (line 41) | func (P *PivotMatrix) Det() float64 { return P.pivotSign } method Trace (line 43) | func (P *PivotMatrix) Trace() (r float64) { method Solve (line 55) | func (P *PivotMatrix) Solve(b MatrixRO) (Matrix, error) { method OneNorm (line 59) | func (A *PivotMatrix) OneNorm() float64 { return float64(A.rows) } method TwoNorm (line 60) | func (A *PivotMatrix) TwoNorm() float64 { return math.Sqrt(float64(... method InfinityNorm (line 61) | func (A *PivotMatrix) InfinityNorm() float64 { return 1 } FILE: pivot_test.go function TestTimes_Pivot (line 10) | func TestTimes_Pivot(t *testing.T) { function TestRowPivot (line 22) | func TestRowPivot(t *testing.T) { function TestColPivot (line 43) | func TestColPivot(t *testing.T) { FILE: sparse.go type SparseMatrix (line 12) | type SparseMatrix struct method Get (line 22) | func (A *SparseMatrix) Get(i, j int) float64 { method GetIndex (line 38) | func (A *SparseMatrix) GetIndex(index int) float64 { method GetRowIndex (line 49) | func (A *SparseMatrix) GetRowIndex(index int) (i int) { method GetColIndex (line 57) | func (A *SparseMatrix) GetColIndex(index int) (j int) { method GetRowColIndex (line 65) | func (A *SparseMatrix) GetRowColIndex(index int) (i int, j int) { method Set (line 71) | func (A *SparseMatrix) Set(i int, j int, v float64) { method SetIndex (line 91) | func (A *SparseMatrix) SetIndex(index int, v float64) { method Indices (line 103) | func (A *SparseMatrix) Indices() (out chan int) { method GetMatrix (line 122) | func (A *SparseMatrix) GetMatrix(i, j, rows, cols int) (subMatrix *Spa... method GetColVector (line 143) | func (A *SparseMatrix) GetColVector(j int) *SparseMatrix { method GetRowVector (line 150) | func (A *SparseMatrix) GetRowVector(i int) *SparseMatrix { method Augment (line 157) | func (A *SparseMatrix) Augment(B *SparseMatrix) (*SparseMatrix, error) { method Stack (line 179) | func (A *SparseMatrix) Stack(B *SparseMatrix) (*SparseMatrix, error) { method L (line 201) | func (A *SparseMatrix) L() *SparseMatrix { method U (line 215) | func (A *SparseMatrix) U() *SparseMatrix { method Copy (line 226) | func (A *SparseMatrix) Copy() *SparseMatrix { method DenseMatrix (line 269) | func (A *SparseMatrix) DenseMatrix() *DenseMatrix { method SparseMatrix (line 278) | func (A *SparseMatrix) SparseMatrix() *SparseMatrix { method String (line 282) | func (A *SparseMatrix) String() string { return String(A) } function ZerosSparse (line 234) | func ZerosSparse(rows int, cols int) *SparseMatrix { function NormalsSparse (line 247) | func NormalsSparse(rows int, cols int, n int) *SparseMatrix { function MakeSparseMatrix (line 260) | func MakeSparseMatrix(elements map[int]float64, rows int, cols int) *Spa... FILE: sparse_arithmetic.go method Plus (line 10) | func (A *SparseMatrix) Plus(B MatrixRO) (Matrix, error) { method PlusSparse (line 19) | func (A *SparseMatrix) PlusSparse(B *SparseMatrix) (*SparseMatrix, error) { method Minus (line 28) | func (A *SparseMatrix) Minus(B MatrixRO) (Matrix, error) { method MinusSparse (line 37) | func (A *SparseMatrix) MinusSparse(B *SparseMatrix) (*SparseMatrix, erro... method Add (line 46) | func (A *SparseMatrix) Add(B MatrixRO) error { method AddSparse (line 67) | func (A *SparseMatrix) AddSparse(B *SparseMatrix) error { method Subtract (line 83) | func (A *SparseMatrix) Subtract(B MatrixRO) error { method SubtractSparse (line 104) | func (A *SparseMatrix) SubtractSparse(B *SparseMatrix) error { method Times (line 120) | func (A *SparseMatrix) Times(B MatrixRO) (Matrix, error) { method TimesSparse (line 151) | func (A *SparseMatrix) TimesSparse(B *SparseMatrix) (*SparseMatrix, erro... method Scale (line 176) | func (A *SparseMatrix) Scale(f float64) { method ElementMult (line 185) | func (A *SparseMatrix) ElementMult(B MatrixRO) (*SparseMatrix, error) { method ElementMultSparse (line 194) | func (A *SparseMatrix) ElementMultSparse(B *SparseMatrix) (*SparseMatrix... method ScaleMatrix (line 203) | func (A *SparseMatrix) ScaleMatrix(B MatrixRO) error { method ScaleMatrixSparse (line 219) | func (A *SparseMatrix) ScaleMatrixSparse(B *SparseMatrix) error { FILE: sparse_basic.go method SwapRows (line 12) | func (A *SparseMatrix) SwapRows(r1, r2 int) { method ScaleRow (line 30) | func (A *SparseMatrix) ScaleRow(r int, f float64) { method ScaleAddRow (line 42) | func (A *SparseMatrix) ScaleAddRow(rd, rs int, f float64) { method Symmetric (line 51) | func (A *SparseMatrix) Symmetric() bool { method Transpose (line 61) | func (A *SparseMatrix) Transpose() *SparseMatrix { method Det (line 70) | func (A *SparseMatrix) Det() float64 { method Trace (line 75) | func (A *SparseMatrix) Trace() (res float64) { method OneNorm (line 85) | func (A *SparseMatrix) OneNorm() (res float64) { method TwoNorm (line 92) | func (A *SparseMatrix) TwoNorm() float64 { method InfinityNorm (line 100) | func (A *SparseMatrix) InfinityNorm() (res float64) { FILE: sparse_test.go function TestAdd_Sparse (line 13) | func TestAdd_Sparse(t *testing.T) { function TestSubtract_Sparse (line 26) | func TestSubtract_Sparse(t *testing.T) { function TestTimes_Sparse (line 39) | func TestTimes_Sparse(t *testing.T) { function TestElementMult_Sparse (line 52) | func TestElementMult_Sparse(t *testing.T) { function TestGetMatrix_Sparse (line 66) | func TestGetMatrix_Sparse(t *testing.T) { function TestAugment_Sparse (line 85) | func TestAugment_Sparse(t *testing.T) { function TestStack_Sparse (line 131) | func TestStack_Sparse(t *testing.T) { FILE: util.go function max (line 9) | func max(x, y float64) float64 { function maxInt (line 16) | func maxInt(x, y int) int { function min (line 23) | func min(x, y float64) float64 { function minInt (line 30) | func minInt(x, y int) int { function sum (line 37) | func sum(a []float64) (s float64) { function product (line 44) | func product(a []float64) float64 { type box (line 52) | type box interface function countBoxes (line 54) | func countBoxes(start, cap int) chan box { function parFor (line 65) | func parFor(inputs <-chan box, foo func(i box)) (wait func()) {