-
-
SimpleMatrix.diag(double... vals)
Creates a matrix where all but the diagonal elements are zero.
SimpleMatrix.diag(Class<?> type,
double... vals)
Creates a real valued diagonal matrix of the specified type
SimpleMatrix.filled(int numRows,
int numCols,
double a)
Returns a filled matrix (numRows x numCols) of the value a.
Creates a new identity matrix with the specified size.
Computes the null space from an SVD.
SimpleMatrix.ones(int numRows,
int numCols)
Returns a matrix of ones.
SimpleMatrix.random(int numRows,
int numCols)
Creates a DDRM random matrix with values from 0.0 to 1.0.
Creates a CDRM random matrix with values from 0.0 to 1.0.
SimpleMatrix.random_CDRM(int numRows,
int numCols,
float minValue,
float maxValue,
Random rand)
Creates a DDRM random matrix with values from 0.0 to 1.0.
SimpleMatrix.random_DDRM(int numRows,
int numCols,
double minValue,
double maxValue,
Random rand)
Creates a new SimpleMatrix with random elements drawn from a uniform distribution from minValue to maxValue.
Creates a FDRM random matrix with values from 0.0 to 1.0.
SimpleMatrix.random_FDRM(int numRows,
int numCols,
float minValue,
float maxValue,
Random rand)
Creates a ZDRM random matrix with values from 0.0 to 1.0.
SimpleMatrix.random_ZDRM(int numRows,
int numCols,
double minValue,
double maxValue,
Random rand)
Creates a new vector which is drawn from a multivariate normal distribution with zero mean
and the provided covariance.
Creates a new SimpleMatrix with the specified DMatrixRMaj used as its internal matrix.
Creates a new vector which is drawn from a multivariate normal distribution with zero mean
and the provided covariance.
Creates a new SimpleMatrix which is identical to the original.