Matrix
class Matrix
Represents a matrix of doubles. Internally represented as a SimpleMatrix from EJML.
Constructors
Properties
Link copied to clipboard
The inverse of this matrix. The matrix must be square and invertible. If the matrix is not square, use pseudoInverse instead.
Link copied to clipboard
The number of columns in the matrix.
Link copied to clipboard
The pseudo-inverse of this matrix. The matrix must be square and invertible.
Functions
Link copied to clipboard
Returns the LDLT decomposition of this matrix. Only works for symmetric matrices.
Link copied to clipboard
Returns the LLT (Cholesky) decomposition of this matrix. Only works for symmetric, positive-definite matrices. Provides in-place rank-1 update/downdate methods.
Link copied to clipboard
Returns the LU decomposition of this matrix.
Link copied to clipboard
Returns the QR decomposition of this matrix.
Link copied to clipboard
Link copied to clipboard
Returns the matrix with all elements negated. This is equivalent to multiplying the matrix by -1.