|
NGSolve
4.9
|
A symmetric band-matrix. More...
#include <bandmatrix.hpp>
Public Types | |
| typedef mat_traits< T >::TV_COL | TV |
| the accoring vector type | |
Public Member Functions | |
| FlatSymBandMatrix (int an, int abw, T *adata) | |
| Construction of FlatSymBandMatirx. | |
| void | Mult (const FlatVector< TV > &x, FlatVector< TV > &y) const |
| Matrix vector multiplication. | |
| ostream & | Print (ostream &ost) const |
| Print matrix to stream. | |
| int | Height () const |
| matrix height | |
| int | BandWidth () const |
| matrix width | |
| const T & | operator() (int i, int j) const |
| access operator. Assumes that $i j$ referes to an element in the band | |
| T & | operator() (int i, int j) |
| access operator. Assumes that $i j$ referes to an element in the band | |
| bool | Used (int i, int j) const |
| check whether i, j refers to a valid element | |
| FlatSymBandMatrix & | operator= (const T &val) |
| assignes a constant value | |
Static Public Member Functions | |
| static int | RequiredMem (int n, int bw) |
| computes required memory | |
Protected Attributes | |
| int | n |
| the matrix size | |
| int | bw |
| number of bands in the triangular matrix | |
| T * | data |
| the matrix entries | |
A symmetric band-matrix.
1.7.6.1