|
| TMatrix3D (TStructure3D *structure) |
|
| ~TMatrix3D () |
|
TStructure3D * | GetStructure () |
|
void | resetNonActive () |
| set all Dirichlet rows to zero. That means all rows where the test space has nonactive degrees of freedom.
|
|
| TMatrix (TStructure *structure) |
|
| TMatrix (TStructure *structure, double *Entries) |
|
void | SetStructure (TStructure *structure) |
| reset the structure, this may mean that the entries need to be reallocated
|
|
| TMatrix (int nRows, int nCols) |
|
| ~TMatrix () |
|
void | Reset () |
|
int | GetN_Rows () const |
|
int | GetN_Columns () const |
|
int | GetN_Entries () const |
|
int | GetHangingN_Entries () const |
|
int * | GetKCol () const |
|
int * | GetHangingKCol () const |
|
int * | GetHangingRowPtr () const |
|
int * | GetRowPtr () const |
|
TStructure * | GetStructure () const |
|
double * | GetEntries () const |
|
double | GetNorm (int p=-1) const |
|
int | Write (const char *filename) const |
|
void | Print (const char *name="a") const |
| Print matrix into the shell.
|
|
void | PrintFull (std::string name="", int fieldWidth=4) const |
| print the full matrix, including all zeros More...
|
|
void | add (int i, int j, double val) |
|
void | add (int i, std::map< int, double > vals, double factor=1.0) |
|
void | add (std::map< int, std::map< int, double > > vals, double factor=1.0) |
|
void | set (int i, int j, double val) |
|
const double & | get (int i, int j) const |
|
double & | get (int i, int j) |
|
void | setEntries (double *entries) |
|
TMatrix * | GetTransposed () const |
| return a new TMatrix which is the transposed of this matrix More...
|
|
void | changeRows (std::map< int, std::map< int, double > > entries, bool deleteOldArrays=false) |
| replace several rows in the matrix with new entries. More...
|
|
virtual TMatrix & | operator+= (const TMatrix *A) |
| add another matrix to this one More...
|
|
virtual TMatrix & | operator-= (const TMatrix *A) |
| substract another matrix to this one More...
|
|
virtual TMatrix & | operator+= (const TMatrix &A) |
| add another matrix to this one More...
|
|
virtual TMatrix & | operator*= (const double a) |
| scale matrix by a factor
|
|
TMatrix & | operator= (const TMatrix &A) |
| copy entries from A to this More...
|
|
void | multiply (const double *const x, double *y, double a=1.0) const |
| compute y += a * A*x More...
|
|
TMatrix * | multiply (const TMatrix *const B, double a=1.0) const |
| compute matrix-matrix product C = a*A*B, More...
|
|
void | scale (const double *const factor, bool from_left=true) |
| scale a matrix using a vector More...
|
|
void | remove_zeros (double tol=0.0) |
| remove all entries from sparsity structure where a zero is stored More...
|
|
double & | operator() (const int i, const int j) |
| get/set a specific matrix entry More...
|
|
const double & | operator() (const int i, const int j) const |
| get a specific matrix entry More...
|
|