38 void New (
int r,
int c);
40 void Initialise (
int *pindex);
43 void Initialise (
int pindex);
46 void Initialise (
int *rowptr,
int *colidx);
51 virtual MT Get (
int r,
int c)
const;
52 virtual void Put (
int r,
int c, MT val);
53 virtual void Add (
int r,
int c, MT val);
61 void GetFillIn (
int *fillin);
92 void SparseOutput (ostream &os)
const;
117 bool reallocate,
bool recover);
162 double err_limit = 1e-18,
int *niter = 0);
168 double err_limit,
int *niter);
175 double err_limit,
int *niter);
187 double err_limit,
int *niter);
196 virtual void Allocate (
int r,
int c);
207 for (
int r = 0; r < rows; r++) b[r] = data[r] & x;
209 #endif // !MATH_DEBUG
214 #ifdef NEED_FRIEND_PT
259 double err_limit = 1e-18,
int *niter = 0);
283 #endif // !__SPMATRIX_H
compressed row storage (sparse)
Definition: matrix.h:25
MatrixStorage
Definition: matrix.h:20
Virtual base class for all matrix types (dense and sparse)
Definition: matrix.h:43
Definition: spmatrix.h:26