Static constructor for a literal matrix.
Static constructor for a literal matrix.
Returns a numRows DenseVector
Returns a 1xnumCols DenseMatrix
Returns a numRows DenseVector
Returns a numRows DenseVector
Maps the columns into a new dense matrix
Maps the columns into a new dense matrix
Creates a square diagonal array of size dim x dim, with 1's along the diagonal.
Horizontally tiles some matrices.
Horizontally tiles some matrices. They must have the same number of rows
Creates a matrix of all ones.
Vertically tiles some matrices.
Vertically tiles some matrices. They must have the same number of columns
The standard way to create an empty matrix, size is rows * cols
The standard way to create an empty matrix, size is rows * cols