Public Methods |
| | MatStructSparse(Type) () |
| | MatStructSparse(Type) (int n, int ndiags, const VecSimple(int) &offset) |
| | MatStructSparse(Type) (int nrows, int ncolumns, int ndiags, const VecSimple(int) &offset) |
| | MatStructSparse(Type) (const MatStructSparse(Type) &X) |
| | MatStructSparse(Type) (const Matrix(prm_Type) &pm) |
| virtual | ~MatStructSparse(Type) (;) virtual int getNoColumns() const |
| virtual int | getNoNonzeroes () const |
| virtual void | size (int &m, int &n) const |
| int | getNoDiags () const |
| int | offset2index (int d) const |
| int | index2offset (int k) const |
| bool | insideDiags (int i, int j) const |
| virtual bool | makeItSimilar (Handle(Matrix(Type)) &M) const |
| virtual bool | redim (const Matrix(prm_Type) &pm) |
| bool | redim (int n, int ndiags, const VecSimple(int) &offset) |
| bool | redim (int nrows, int ncolumns, int ndiags, const VecSimple(int) &offset) |
| virtual bool | redim (const VecSimple(int) &ivec, const VecSimple(int) &jvec, int new_rows, int new_columns) |
| virtual void | getIndexSet (VecSimple(int) &ivec, VecSimple(int) &jvec) const |
| virtual bool | validIndexSet (const VecSimple(int) &ivec, const VecSimple(int) &jvec, const int new_nrows, const int new_ncolumns) |
| virtual Type& | elm (int i, int j) |
| virtual void | fill (const Matrix(Type) &X) |
| virtual void | fill (Type a) |
| MatStructSparse(Type)& | operator= (const MatStructSparse(Type) &X) |
| MatStructSparse(Type)& | operator= (const Type &a) |
| virtual void | assemble (const Mat(Type) &em, const VecSimple(int) &idx_row_trans, const VecSimple(int) &idx_col_trans, int elm_no) |
| virtual void | add (Matrix(Type) &bb, Matrix(Type) &cb) |
| virtual void | add (Matrix(Type) &bb, char s, Matrix(Type) &cb) |
| virtual void | add (Matrix(Type) &bb, Type b, Matrix(Type) &cb) |
| virtual void | add (Type a, Matrix(Type) &bb, Type b, Matrix(Type) &cb) |
| void | add (MatStructSparse(Type) &y, int power) |
| void | add (Type value) |
| virtual void | mult (Type value) |
| virtual void | prod (const Matrix(Type) &, const Matrix(Type) &, TransposeMode=NOT_TRANSPOSED, TransposeMode=NOT_TRANSPOSED) |
| virtual void | prod (const Vector(Type) &xb, Vector(Type) &yb, TransposeMode tpmode=NOT_TRANSPOSED, bool add_to_yb=false) const |
| virtual void | transpose () |
| virtual void | conjTranspose () |
| bool | factRILU (real omega=0.0, int level=0) |
| void | forwBackRILU (Vec(Type) &b, Vec(Type) &x) |
| virtual bool | factSVD (Vec(Type) &, Mat(Type) &, real=1.0e-6) |
| virtual void | forwBackSVD (const Vec(Type) &, const Mat(Type) &, const Vec(Type) &, Vec(Type) &) |
| virtual bool | factChol (bool=true) |
| virtual void | forwBackChol (Vec(Type) &, Vec(Type) &) |
| virtual bool | factLU () |
| virtual void | forwBackLU (Vec(Type) &, Vec(Type) &) |
| virtual bool | factLU (VecSimple(int) &, Vec(Type) &) |
| virtual bool | factLU (VecSimple(int) &) |
| virtual void | forwBackLU (Vec(Type) &, Vec(Type) &, const VecSimple(int) &) |
| virtual bool | factorize (const FactStrategy &fstrategy) |
| virtual void | forwBack (Vector(Type) &bb, Vector(Type) &xb) |
| virtual void | inverse (Mat(Type) &inv) |
| virtual void | inverse (Mat(Type) &inv, Vec(Type) &scratch) |
| virtual void | inverse (Mat(Type) &inv, VecSimple(int) &perm, Vec(Type)&scratch) |
| virtual Type | det () |
| virtual void | SSOR1it (Vector(Type) &xnew, const Vector(Type) &xold, const Vector(Type) &b, real omega, TransposeMode tpmode=NOT_TRANSPOSED) const |
| virtual void | SSORsolve (Vector(Type) &y, const Vector(Type) &c, real omega, TransposeMode tpmode=NOT_TRANSPOSED) const |
| virtual void | SOR1it (Vector(Type) &xnew, const Vector(Type) &xold, const Vector(Type) &b, real omega, TransposeMode tpmode=NOT_TRANSPOSED) const |
| virtual void | SORsolve (Vector(Type) &y, const Vector(Type) &c, real omega, TransposeMode tpmode=NOT_TRANSPOSED) const |
| virtual void | Jacobi1it (Vector(Type) &xnew, const Vector(Type) &xold, const Vector(Type) &b, TransposeMode tpmode=NOT_TRANSPOSED) const |
| virtual void | Jacobisolve (Vector(Type) &y, const Vector(Type) &c, TransposeMode tpmode=NOT_TRANSPOSED) const |
| virtual void | print (Os os, const char *header=NULL, int nentries_per_line=3) const |
| virtual void | printAscii (Os os, const char *header=NULL) const |
| virtual void | scan (Is is) |
| virtual void | save (const char *filename, const char *name="X") const |
| virtual void | load (const char *filename, const char *name="X") |
| CLASS_INFO | VIRTUAL_CAST (MatStructSparse(Type)) private |
| bool | redim (int nrows_, int ncolumns_) |
| void | add (Mat(Type) &y, int power) |
Protected Methods |
| virtual void | copy_matrix_attributes (const Matrix(Type) &X) |
| virtual void | copy_matrix_attributes (const Mat(Type) &X) |
| virtual void | copy_matrix_attributes (const MatStructSparse(Type) &X) |
| virtual void | reset () |
Protected Attributes |
| int | full_ncols |
| VecSort(int) | offset |
| Type | zero_entry |
| int& | ndiags |
Friends |
| Os& | operator<< (Os &os, const MatBand(Type) &X) |
| Is& | operator>> (Is &is, MatBand(Type) &X) |