|
| BlockMatrix (bool verbose=false) |
|
virtual uint | rtti () const |
|
virtual const Vector< ValueType > | operator[] (Index r) const |
|
virtual Index | rows () const |
|
virtual Index | cols () const |
|
virtual const Vector< ValueType > | row (Index r) const |
|
virtual const Vector< ValueType > | col (Index r) const |
|
virtual void | clear () |
|
virtual void | clean () |
|
MatrixBase * | mat (Index idx) |
|
MatrixBase & | matRef (Index idx) const |
|
std::vector< BlockMatrixEntry > | entries () const |
|
Index | add (MatrixBase *matrix, Index rowStart, Index colStart) |
|
Index | addMatrix (MatrixBase *matrix) |
|
Index | addMatrix (MatrixBase *matrix, Index rowStart, Index colStart, ValueType scale=1.0) |
|
void | addMatrixEntry (Index matrixID, Index rowStart, Index colStart) |
|
void | addMatrixEntry (Index matrixID, Index rowStart, Index colStart, ValueType scale, bool transpose=false) |
|
void | recalcMatrixSize () const |
|
virtual Vector< ValueType > | mult (const Vector< ValueType > &b) const |
|
virtual Vector< ValueType > | transMult (const Vector< ValueType > &b) const |
|
RSparseMapMatrix | sparseMapMatrix () const |
|
virtual void | save (const std::string &filename) const |
|
Vector< double > | mult (const Vector< double > &b) const |
|
Vector< double > | transMult (const Vector< double > &b) const |
|
RSparseMapMatrix | sparseMapMatrix () const |
|
DLLEXPORT RVector | mult (const RVector &b) const |
|
DLLEXPORT RVector | transMult (const RVector &b) const |
|
DLLEXPORT RSparseMapMatrix | sparseMapMatrix () const |
|
| MatrixBase (bool verbose=false) |
|
virtual | ~MatrixBase () |
|
void | setVerbose (bool verbose) |
|
bool | verbose () const |
|
Index | size () const |
|
virtual void | resize (Index rows, Index cols) |
|
virtual RVector | dot (const RVector &a) const |
|
virtual CVector | mult (const CVector &a) const |
|
virtual RVector | mult (const RVector &b, Index startI, Index endI) const |
|
virtual CVector | mult (const CVector &b, Index startI, Index endI) const |
|
virtual CVector | transMult (const CVector &a) const |
|
template<class ValueType >
Brute force column separation fallback .. should be overwriten if you need performance for your onw matrix type.
Brute force row separation fallback .. should be overwriten if you need performance for your onw matrix type. / template< class ValueType > const Vector < ValueType > row(Index r) const{ __M ASSERT_RANGE(r, 0, rows()) Vector < ValueType > b(rows(), 0.0); b[r] = 1.0; return this->transMult(b); } these template function above will not work until MatrixBase is a non template function /! Brute force column separation fallback .. should be overwriten if you need performance for your onw matrix type.
Brute force row separation fallback .. should be overwriten if you need performance for your onw matrix type. */ virtual const RVector row(Index r) const { __M ASSERT_RANGE(r, 0, rows()) RVector b(rows(), 0.0); b[r] = 1.0; return this->transMult(b); }
/*! Save this matrix into the file filename given.
Reimplemented from GIMLI::MatrixBase.