Alternative constructor leaving matrix dimensions to be determined automatically.
matrix entries
number of rows. A non-positive value means unknown, and then the number of rows will be determined by the max row index plus one.
number of columns. A non-positive value means unknown, and then the number of columns will be determined by the max column index plus one.
matrix entries
Gets or computes the number of columns.
Gets or computes the number of columns.
Gets or computes the number of rows.
Gets or computes the number of rows.
Converts to BlockMatrix.
Converts to BlockMatrix. Creates blocks of SparseMatrix.
The number of rows of each block. The blocks at the bottom edge may have a smaller value. Must be an integer value greater than 0.
The number of columns of each block. The blocks at the right edge may have a smaller value. Must be an integer value greater than 0.
Converts to BlockMatrix.
Converts to BlockMatrix. Creates blocks of SparseMatrix with size 1024 x 1024.
Converts to IndexedRowMatrix.
Converts to IndexedRowMatrix. The number of columns must be within the integer range.
Converts to RowMatrix, dropping row indices after grouping by row index.
Converts to RowMatrix, dropping row indices after grouping by row index. The number of columns must be within the integer range.
Transposes this CoordinateMatrix.
:: Experimental :: Represents a matrix in coordinate format.