number of rows
number of columns
the index corresponding to the start of a new column
the row index of the entry. They must be in strictly increasing order for each column
non-zero matrix entries in column major
the index corresponding to the start of a new column
Get a deep copy of the matrix.
Get a deep copy of the matrix.
Convenience method for Matrix
-DenseVector
multiplication.
Convenience method for Matrix
-DenseVector
multiplication.
Convenience method for Matrix
-DenseMatrix
multiplication.
Convenience method for Matrix
-DenseMatrix
multiplication.
number of columns
number of columns
number of rows
number of rows
the row index of the entry.
the row index of the entry. They must be in strictly increasing order for each column
Converts to a dense array in column major.
Converts to a dense array in column major.
A human readable representation of the matrix
A human readable representation of the matrix
non-zero matrix entries in column major
Column-major sparse matrix. The entry values are stored in Compressed Sparse Column (CSC) format. For example, the following matrix
is stored as
values: [1.0, 2.0, 3.0, 4.0, 5.0, 6.0]
,rowIndices=[0, 2, 1, 0, 1, 2]
,colPointers=[0, 2, 3, 6]
.