Static constructor for a literal matrix.
Static constructor for a literal matrix.
Returns a numRows DenseVector
Returns a 1xnumCols DenseMatrix
Iterates over each columns
Iterates over each columns
iterates over each column
iterates over each column
transforms each column into a new column, giving a new matrix.
transforms each column into a new column, giving a new matrix.
value type
transforms each row into a new row, giving a new matrix.
transforms each row into a new row, giving a new matrix.
Iterates over each columns
Iterates over each columns
iterates over each column
iterates over each column
Creates a new DenseMatrix using the provided array (not making a copy!).
Creates a new DenseMatrix using the provided array (not making a copy!). In generic contexts, prefer to
use this (or the other create methd) instead of new DenseMatrix[V](rows, cols, data)
, which in general
won't give specialized implementations.
Creates a new DenseMatrix using the provided array (not making a copy!).
Creates a new DenseMatrix using the provided array (not making a copy!). In generic contexts, prefer to
use this (or the other create methd) instead of new DenseMatrix[V](rows, cols, data)
, which in general
won't give specialized implementations.
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