Static constructor for a literal matrix.
Returns a numRows DenseVector
Returns a 1xnumCols DenseMatrix
Iterates over each columns
iterates over each column
transforms each column into a new column, giving a new matrix.
transforms each row into a new row, giving a new matrix.
Creates a square diagonal array of size dim x dim, with 1's along the diagonal.
Horizontally tiles some matrices.
Creates a matrix of all ones.
Vertically tiles some matrices.
The standard way to create an empty matrix, size is rows * cols