- mult
Performs the following operation:
c = a * b
cij = ∑k=1:n { aik * bkj}
- scale
Performs an element by element scalar multiplication.
bij = α*aij
- add
Performs the following operation:
c = a + b
cij = aij + bij
Matrix C can be the same instance
- invert
Performs a matrix inversion operation that does not modify the original and
stores the results in a
- subtract
Performs the following subtraction operation:
c = a - b
cij = aij - bij
Matrix C can be the same
- transpose
Transposes matrix 'a' and stores the results in 'b':
bij = aji
where 'b' is the transpose of 'a'.
- insert
Inserts matrix 'src' into matrix 'dest' with the (0,0) of src at (row,col) in
dest. This is equivale
- extract
Extracts a submatrix from 'src' and inserts it in a submatrix in 'dst'.
si-y0 , j-x0 = oij for al
- multTransA
Performs the following operation:
c = aT * b
cij = ∑k=1:n { aki * bkj}
- setIdentity
Sets all the diagonal elements equal to one and everything else equal to zero.
If this is a square m
- fill
Sets every element in the matrix to the specified value.
aij = value
- identity
Creates a rectangular matrix which is zero except along the diagonals.