![]()  | 
  
    SMILE
    v2.5
    
   Schwarzschild Modelling Interactive expLoratory Environment 
   | 
 
matrix interface class that actually holds the entire matrix and returns its elements More...
#include <common.h>


Public Member Functions | |
| CMatrixDense (size_t s1, size_t s2) | |
| virtual size_t | size1 () const | 
| !! what if out-of-memory exception arises here?  | |
| virtual size_t | size2 () const | 
| same for second  | |
| virtual NumT | at (size_t i1, size_t i2) const | 
| return a regular value from 2d array  | |
| void | set (size_t i1, size_t i2, NumT value) | 
| a way to set the value of matrix element  | |
  Public Member Functions inherited from smile::CMatrix< NumT > | |
| 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 NumT | getElem (size_t index, size_t *i1, size_t *i2) const | 
| get an element from the matrix, 0<=index<numElems()  More... | |
Private Attributes | |
| std::vector< std::vector< NumT > > | matrix | 
| matrix elements  | |
matrix interface class that actually holds the entire matrix and returns its elements
 1.8.8