SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment
|
matrix interface class that passes the linear matrix elements from Schwarzschild model object to the solver More...
#include <schwarzschild.h>
Public Member Functions | |
CMatrixBasicSchwModel (const CBasicSchwModel *_model) | |
virtual size_t | size1 () const |
return size for first index | |
virtual size_t | size2 () const |
same for second | |
virtual smNumType | at (size_t i1, size_t i2) const |
return value at indices i1,i2. Note: there is no abstract function to set a value. | |
Public Member Functions inherited from smile::CMatrix< smNumType > | |
virtual bool | isDense () const |
whether the matrix is dense or sparse (may be used to optimize calculations) | |
virtual size_t | numElems () const |
number of possibly nonzero elements in sparse matrix More... | |
virtual smNumType | getElem (size_t index, size_t *i1, size_t *i2) const |
get an element from the matrix, 0<=index<numElems() More... | |
Private Attributes | |
const CBasicSchwModel * | model |
matrix interface class that passes the linear matrix elements from Schwarzschild model object to the solver