SymSparseMatrix Class Reference
Part of tmath
Symmetric sparse matrix class with selfadjoint storage.
defines Eigen flags to be used for modfying Eigen’s algebra operators
destructor
copy constructor
Parameters
copy constructor
Parameters
copy constructor
Parameters
Returns
returns the unary minus (i.e. B = -A = -(*this)) of this matric
transforms this objects into a string, required by SWIG
Returns
a 0-terminated string
assigns a new matrix to this object
Parameters
Returns
a reference to this object, casted to the base class
Returns
the number of columns
Returns
the number of inner elements
Returns
the number of nonzeros
overrides the sparsematrix-densematrix product.
Returns
returns the product of *this and another dense matrix
Parameters
Returns
returns the product of *this and another dense matrix
Parameters
Returns
SparseMatrix returns the product of *this and another symmetric sparse matrix
Parameters
Returns
returns the product of *this and a scalar
Parameters
Returns
returns the sum of two sparse matrices
Parameters
Returns
returns the subtraction of two sparse matrices
Parameters
Returns
returns the division of *this by a scalar
Parameters
Returns
the number of sparse column vectors
prints the sparse matrix up to the given rows and columns (internally a temporary dense matrix will be created)
Parameters
sets all elements with absolute value <= reference to zero and removes from storage
Parameters
sets all elements with absolute value <= reference*epsilon to zero and removes from storage
Parameters
Returns
the number of rows
swaps the contents of this object
Parameters
Returns
the transpose
Was this page helpful?