Inherits Eigen::SparseMatrix< double >, and RefCounter.
Libraries | |
__neg__ | |
Cols | |
returns the number of columns | |
InnerNonZeros | |
returns the nonzeros of the j-th column | |
InnerSize | |
returns the number of inner elements | |
NonZeros | |
returns the number of nonzeros | |
OuterSize | |
returns the number of sparse column vectors | |
Prune | |
sets all elements with absolute value <= reference to zero and removes from storage | |
Rows | |
returns the number of rows | |
SetZero | |
sets the object to zero (clears it) | |
Swap | |
swaps the contents of this object |
This class represents a symmetric sparse matrix. Only the lower triangular part and the diagonal are stored. The upper triangular part is "emulated".
[Library] |
returns unary minus (B=-A)
overrides the sparsematrix-scalar product.
overrides the sparsematrix-densematrix product.
overrides the sparsematrix-sparsematrix sum.
overrides the sparsematrix-sparsematrix subtraction
overrides the sparsematrix-scalar division.
prints the sparse matrix up to the given rows and columns (internally a temporary dense matrix will be created)