Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bugra/matrix
/ functions
Functions
63 in github.com/bugra/matrix
⨍
Functions
63
◇
Types & classes
0
↓ 6 callers
Function
column
Private Get a column in the form of a slice from a matrix
matrix.go:11
↓ 5 callers
Function
Determinant
Calculates the determinant of the matrix
matrix.go:54
↓ 4 callers
Function
Diagonal
Returns the diagonal of a matrix
matrix.go:524
↓ 4 callers
Function
Sum
Sum of the matrix along with axis axis=0 => row-wise axis=1 => column-wise
matrix.go:200
↓ 3 callers
Function
DotProduct
Dot (Inner) product
matrix.go:40
↓ 3 callers
Function
MultiplyByScalar
Returns the rm of multiply all the elements of a matrix by a float number
matrix.go:151
↓ 3 callers
Function
Transpose
Matrix Transpose
matrix.go:185
↓ 3 callers
Function
Zeros
Returns an array filled with 0.s If it has been passed one parameter, it yields a square matrix Two parameters define the size of the matrix
matrix.go:501
↓ 3 callers
Function
deepCopyArray
(array []float64)
matrix.go:444
↓ 3 callers
Function
deepCopyMatrix
Deep Copy of an Array
matrix.go:433
↓ 2 callers
Function
Add
Returns the sum of the given two matrix
matrix.go:22
↓ 2 callers
Function
Apply
Apply a function to all the elements of a matrix, the function will receive a float64 as param and returns a float64
matrix.go:408
↓ 2 callers
Function
CofactorMatrix
Returns the Cofactor Matrix
matrix.go:123
↓ 2 callers
Function
Concatenate
Concatenate two matrices along with their axises axis=0 => row-wise axis=1 => column-wise
matrix.go:455
↓ 2 callers
Function
ConjugateMatrix
Returns the Congugate Matrix
matrix.go:613
↓ 2 callers
Function
CumulativeSum
Cumulative Sum of Matrix along with axis axis=0 => row-wise axis=1 => column-wise
matrix.go:386
↓ 2 callers
Function
Eye
Returns an array where diagonal elements are 1 and remaining positions are 0 If it has been passed one parameter, it yields a square matrix Two parame
matrix.go:484
↓ 2 callers
Function
Inverse
Calculates the inverse matrix
matrix.go:139
↓ 2 callers
Function
Max
Maximum of matrix along with axis axis=0 => row-wise axis=1 => column-wise
matrix.go:222
↓ 2 callers
Function
Mean
Mean of matrix along with axis axis=0 => row-wise axis=1 => column-wise
matrix.go:365
↓ 2 callers
Function
Median
Median of matrix along with axis axis=0 => row-wise axis=1 => column-wise
matrix.go:296
↓ 2 callers
Function
Min
Minimum of matrix along with axis axis=0 => row-wise axis=1 => column-wise
matrix.go:259
↓ 2 callers
Function
MinorMatrix
Minor matrix of a given matrix
matrix.go:94
↓ 1 callers
Function
ComplexApply
Apply a function to a complex matrix the function will receive a complex128 and returns a complex128
matrix.go:421
↓ 1 callers
Function
Divide
Divide the first matrix by the second one
matrix.go:146
↓ 1 callers
Function
LowerTriangle
Lower Triangle Matrix
matrix.go:548
↓ 1 callers
Function
MultTranspose
Multiply on matrix by the Transposepose of the second matrix
matrix.go:159
↓ 1 callers
Function
Multiply
Multiplication of two matrices; element-wise
matrix.go:173
↓ 1 callers
Function
Subtract
Subtraction operation on two matrices
matrix.go:34
↓ 1 callers
Function
SumAll
Sum all the elements in a matrix
matrix.go:397
↓ 1 callers
Function
Take
Take the elements of the matrix given in indices uses so called fancy indexing to determine the positions of the array
matrix.go:580
↓ 1 callers
Function
UpperTriangle
Upper Triangle of Matrix
matrix.go:563
↓ 1 callers
Function
Where
Returns the elements of the matrix which returns true for a given function
matrix.go:601
Function
TestAdd
(t *testing.T)
matrix_test.go:65
Function
TestApply
(t *testing.T)
matrix_test.go:383
Function
TestCofactorMatrix
(t *testing.T)
matrix_test.go:488
Function
TestColumn
(t *testing.T)
matrix_test.go:536
Function
TestConcatenate
(t *testing.T)
matrix_test.go:735
Function
TestConjugateMatrix
(t *testing.T)
matrix_test.go:853
Function
TestCumulativeSum
(t *testing.T)
matrix_test.go:355
Function
TestDeterminant
(t *testing.T)
matrix_test.go:427
Function
TestDiagonal
(t *testing.T)
matrix_test.go:604
Function
TestDiv
(t *testing.T)
matrix_test.go:574
Function
TestDotProduct
TODO: Var, std, correlate, corrcoef, covariance http://docs.scipy.org/doc/numpy/reference/generated/numpy.cov.html
matrix_test.go:12
Function
TestEye
(t *testing.T)
matrix_test.go:700
Function
TestInverse
(t *testing.T)
matrix_test.go:512
Function
TestLowerTriangle
(t *testing.T)
matrix_test.go:788
Function
TestMatrixTrans
(t *testing.T)
matrix_test.go:165
Function
TestMax
(t *testing.T)
matrix_test.go:274
Function
TestMean
(t *testing.T)
matrix_test.go:216
Function
TestMedian
(t *testing.T)
matrix_test.go:243
Function
TestMin
(t *testing.T)
matrix_test.go:308
Function
TestMinorMatrix
(t *testing.T)
matrix_test.go:464
Function
TestMultTrans
(t *testing.T)
matrix_test.go:91
Function
TestMultiply
(t *testing.T)
matrix_test.go:113
Function
TestMultiplyByScalar
(t *testing.T)
matrix_test.go:43
Function
TestSubtract
(t *testing.T)
matrix_test.go:139
Function
TestSum
(t *testing.T)
matrix_test.go:188
Function
TestSumAll
(t *testing.T)
matrix_test.go:341
Function
TestTake
(t *testing.T)
matrix_test.go:834
Function
TestUpperTriangle
(t *testing.T)
matrix_test.go:811
Function
TestWhere
(t *testing.T)
matrix_test.go:409
Function
TestZeros
(t *testing.T)
matrix_test.go:663