In file bandmatrix.hpp: Cholesky factors of a band matrix.
Documentation
Cholesky factors of a band matrix.
This class does not provide memory management.
storage:
lfact (bw = 3)
d0
0 d1
1 2 d2
3 4 d3
Inheritance:
Public Methods
-
FlatBandCholeskyFactors(int an, int abw, T* amem)
- assign dimension, bandwith and memory
-
FlatBandCholeskyFactors()
- default constructor
-
void Factor(const FlatSymBandMatrix<T> & a)
- factor bandmatrix a
-
template<class TVX, class TVY> void Mult(const FlatVector<TVX> & x, FlatVector<TVY> & y) const
- solve with factored matrices
-
ostream& Print(ostream & ost) const
- print matrix factors
-
int Index(int i, int j) const
- compute linear position of matrix element (i,j)
-
const T& operator() (int i, int j) const
- matrix element (i,j), (i,j) must be a valid position
-
T& operator() (int i, int j)
- matrix element (i,j), (i,j) must be a valid position
-
int Size() const
- matrix size
-
int BandWidth() const
- band-width of triangular matrix
-
static int RequiredMem(int n, int bw)
- computes required memory
Protected Fields
-
int n
- matrix dimension
-
int bw
- number of bands in the triangular matrix
-
T* mem
- matrix matrix data, first diags, than lfact
int n
- matrix dimension
int bw
- number of bands in the triangular matrix
T* mem
- matrix matrix data, first diags, than lfact
FlatBandCholeskyFactors(int an, int abw, T* amem)
- assign dimension, bandwith and memory
FlatBandCholeskyFactors()
- default constructor
void Factor(const FlatSymBandMatrix<T> & a)
- factor bandmatrix a
template<class TVX, class TVY> void Mult(const FlatVector<TVX> & x, FlatVector<TVY> & y) const
- solve with factored matrices
ostream& Print(ostream & ost) const
- print matrix factors
int Index(int i, int j) const
- compute linear position of matrix element (i,j)
const T& operator() (int i, int j) const
- matrix element (i,j), (i,j) must be a valid position
T& operator() (int i, int j)
- matrix element (i,j), (i,j) must be a valid position
int Size() const
- matrix size
int BandWidth() const
- band-width of triangular matrix
static int RequiredMem(int n, int bw)
- computes required memory
- Direct child classes:
- BandCholeskyFactors
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.