|
| SparseMatrix () |
|
| SparseMatrix (const SparseMatrix< ValueType > &S) |
|
| SparseMatrix (const SparseMapMatrix< ValueType, Index > &S) |
|
| SparseMatrix (const IndexArray &colPtr, const IndexArray &rowIdx, const Vector< ValueType > vals, int stype=0) |
|
| SparseMatrix (const std::vector< int > &colPtr, const std::vector< int > &rowIdx, const Vector< ValueType > vals, int stype=0) |
|
virtual | ~SparseMatrix () |
|
SparseMatrix< ValueType > & | operator= (const SparseMatrix< ValueType > &S) |
|
SparseMatrix< ValueType > & | operator= (const SparseMapMatrix< ValueType, Index > &S) |
|
SparseMatrix< ValueType > & | operator+= (const SparseMatrix< ValueType > &A) |
|
SparseMatrix< ValueType > & | operator-= (const SparseMatrix< ValueType > &A) |
|
SparseMatrix< ValueType > & | operator+= (const ElementMatrix< double > &A) |
|
virtual uint | rtti () const |
|
virtual Vector< ValueType > | mult (const Vector< ValueType > &a) const |
|
virtual Vector< ValueType > | transMult (const Vector< ValueType > &a) const |
|
void | add (const ElementMatrix< double > &A) |
|
void | add (const ElementMatrix< double > &A, ValueType scale) |
|
void | add (const ElementMatrix< double > &A, const Pos &scale) |
|
void | add (const ElementMatrix< double > &A, const Matrix< ValueType > &scale) |
|
void | clean () |
|
void | clear () |
|
void | setVal (int i, int j, ValueType val) |
|
ValueType | getVal (int i, int j, bool warn=true) const |
|
void | cleanRow (int row) |
|
void | cleanCol (int col) |
|
void | copy_ (const SparseMapMatrix< double, Index > &S) |
|
void | copy_ (const SparseMapMatrix< Complex, Index > &S) |
|
void | buildSparsityPattern (const Mesh &mesh) |
|
void | fillStiffnessMatrix (const Mesh &mesh) |
|
void | fillStiffnessMatrix (const Mesh &mesh, const RVector &a) |
|
void | fillMassMatrix (const Mesh &mesh) |
|
void | fillMassMatrix (const Mesh &mesh, const RVector &a) |
|
int | stype () const |
|
int * | colPtr () |
|
const int & | colPtr () const |
|
const std::vector< int > & | vecColPtr () const |
|
int * | rowIdx () |
|
const int & | rowIdx () const |
|
const std::vector< int > & | vecRowIdx () const |
|
ValueType * | vals () |
|
const Vector< ValueType > & | vecVals () const |
|
Vector< ValueType > & | vecVals () |
|
Index | size () const |
|
Index | nVals () const |
|
Index | cols () const |
|
Index | rows () const |
|
Index | nCols () const |
|
Index | nRows () const |
|
void | save (const std::string &fileName) const |
|
bool | valid () const |
|
void | copy_ (const SparseMapMatrix< double, Index > &S) |
|
void | copy_ (const SparseMapMatrix< Complex, Index > &S) |
|
void | add (const ElementMatrix< double > &A, double scale) |
|
void | add (const ElementMatrix< double > &A, const Pos &scale) |
|
void | add (const ElementMatrix< double > &A, const Matrix< double > &scale) |
|
void | add (const ElementMatrix< double > &A, Complex scale) |
|
void | add (const ElementMatrix< double > &A, const Pos &scale) |
|
void | add (const ElementMatrix< double > &A, const CMatrix &scale) |
|
DLLEXPORT void | copy_ (const SparseMapMatrix< double, Index > &S) |
|
DLLEXPORT void | copy_ (const SparseMapMatrix< Complex, Index > &S) |
|
DLLEXPORT void | add (const ElementMatrix< double > &A, double scale) |
|
DLLEXPORT void | add (const ElementMatrix< double > &A, const Pos &scale) |
|
DLLEXPORT void | add (const ElementMatrix< double > &A, const RMatrix &scale) |
|
DLLEXPORT void | add (const ElementMatrix< double > &A, Complex scale) |
|
DLLEXPORT void | add (const ElementMatrix< double > &A, const Pos &scale) |
|
DLLEXPORT void | add (const ElementMatrix< double > &A, const CMatrix &scale) |
|
template<class ValueType>
class GIMLI::SparseMatrix< ValueType >
Sparse matrix in compressed row storage (CRS) form.
Sparse matrix in compressed row storage (CRS) form. IF you need native CCS format you need to transpose CRS Symmetry type: 0 = nonsymmetric, -1 symmetric lower part, 1 symmetric upper part.