Public Methods |
| | MatBand(Type) () |
| | MatBand(Type) (int n, int bandwidth, bool symm_storage=false, bool pivot_allowed=false) |
| | MatBand(Type) (int nrows, int ncolumns, int bandwidth, bool symm_storage=false, bool pivot_allowed=false) |
| | MatBand(Type) (const MatBand(Type) &X) |
| | MatBand(Type) (const Matrix(prm_Type) &pm) |
| virtual | ~MatBand(Type) () |
| virtual int | getNoColumns () const |
| virtual int | getNoNonzeroes () const |
| virtual void | size (int &m, int &n) const |
| void | setBandwidth (int bandwidth, bool symm_storage=false, bool pivot_allowed=false) |
| int | getBandwidth () const |
| int | getLowerBandwidth () const |
| int | getUpperBandwidth () const |
| bool | insideBand (const int i, const int j) const |
| virtual bool | makeItSimilar (Handle(Matrix(Type)) &M) const |
| virtual bool | redim (const Matrix(prm_Type) &pm) |
| bool | redim (int n, int bandwidth_, bool symm_storage_, bool pivot_allowed_) |
| bool | redim (int nrows, int ncolumns, int bandwidth, bool symm_storage, bool pivot_allowed) |
| virtual bool | redim (const VecSimple(int) &ivec, const VecSimple(int) &jvec, int new_nrows, int new_ncolumns) |
| 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) |
| bool | denseIndex2bandIndex (int i, int j, int &ib, int &jb) |
| virtual void | fill (const Matrix(Type) &X) |
| virtual void | fill (Type a) |
| MatBand(Type)& | operator= (const MatBand(Type) &X) |
| MatBand(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) &bm, Type b, Matrix(Type) &cb) |
| void | add (MatBand(Type) &y, int power) |
| void | add (Type value) |
| virtual void | mult (Type value) |
| 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 () |
| virtual void | colManip (LinEqConstraint &constraint_eq, Vec(Type) &vc, VecSimple(bool) &essential_dof) |
| virtual void | rowManip (LinEqConstraint &constraint_eq, Vec(Type) &vc, VecSimple(bool) &essential_dof) |
| 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) &b, Vec(Type) &x) |
| virtual bool | factLU (VecSimple(int) &perm, Vec(Type) &scratch) |
| virtual bool | factLU (VecSimple(int) &perm) |
| virtual void | forwBackLU (Vec(Type) &b, Vec(Type) &x, const VecSimple(int) &perm) |
| 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 |
| 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 (MatBand(Type)) private |
| virtual void | prod (const Matrix(Type) &, const Matrix(Type) &, TransposeMode=NOT_TRANSPOSED, TransposeMode=NOT_TRANSPOSED) |
| void | prod (const Matrix(Type) &, const Matrix(Type) &, bool, TransposeMode=NOT_TRANSPOSED, TransposeMode=NOT_TRANSPOSED) |
Protected Methods |
| int | actual_bandwidth (int bandwidth_, bool symm_storage_, bool pivot_allowed_) const |
| bool | validAttributes (int bandwidth, bool &symm_storage, bool &pivot_allowed) const |
| bool | factLU_symm () |
| void | forwBackLU_symm (Vec(Type) &b, Vec(Type) &x) |
| bool | factLU_nonsymm () |
| void | forwBackLU_nonsymm (Vec(Type) &b, Vec(Type) &x) |
| void | prod_symm (const Vec(Type) &x, Vec(Type) &y, transposeFP(Type) transform, bool transposed, bool add_to_yb=false) const |
| void | prod_nonsymm (const Vec(Type) &x, Vec(Type) &y, transposeFP(Type) transform, bool transposed, bool add_to_yb=false) const |
| virtual void | copy_matrix_attributes (const Matrix(Type) &X) |
| virtual void | copy_matrix_attributes (const Mat(Type) &X) |
| virtual void | copy_matrix_attributes (const MatBand(Type) &X) |
| virtual void | reset () |
| bool | redim (int n) |
| bool | redim (int nrows_, int ncolumns_) |
Protected Attributes |
| int | full_ncols |
| int | bandwidth |
| int& | ndiags |
| Type | zero_entry |
Friends |
| Os& | operator<< (Os &os, const MatBand(Type) &X) |
| Is& | operator>> (Is &is, MatBand(Type) &X) |