Public Methods |
| | MrepSP (const int nc=0, const status S=open) |
| | standard and default constructor.
|
| | MrepSP (const int nc, const int nel, const status _s=closed) |
| | constructor for a closed sparse matrix.
|
| | ~MrepSP () |
| | standard destructor.
|
| MrepSP* | get_own_copy () |
| | provide copy on write.
|
| void | assign (const double value) |
| | assign with a constant value.
|
| int | size () const |
| | size is the number of coefficients of the Matrix.
|
| void | set_status (status ns=open) |
| | low level function to switch the status of the matrix.
|
| status | get_status () |
Public Attributes |
| status | s |
| | status.
|
| valarray<double>* | m |
| | double vector containing data.
|
| valarray<int>* | ia |
| | int vector containing row indices.
|
| valarray<int>* | izh |
| | int vector containing indices of the diagonal elements.
|
| vector<vectorsp>* | v |
| | representation of an open, editable matrix.
|
| int | ncol |
| | number of columns is common to both representations.
|
| int | nref |
| | reference count.
|