In file bandmatrix.hpp:

template<class T> class FlatBandCholeskyFactors

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

[more] FlatBandCholeskyFactors(int an, int abw, T* amem)
assign dimension, bandwith and memory
[more] FlatBandCholeskyFactors()
default constructor
[more]void Factor(const FlatSymBandMatrix<T> & a)
factor bandmatrix a
[more]template<class TVX, class TVY> void Mult(const FlatVector<TVX> & x, FlatVector<TVY> & y) const
solve with factored matrices
[more]ostream& Print(ostream & ost) const
print matrix factors
[more]int Index(int i, int j) const
compute linear position of matrix element (i,j)
[more]const T& operator() (int i, int j) const
matrix element (i,j), (i,j) must be a valid position
[more]T& operator() (int i, int j)
matrix element (i,j), (i,j) must be a valid position
[more]int Size() const
matrix size
[more]int BandWidth() const
band-width of triangular matrix
[more]static int RequiredMem(int n, int bw)
computes required memory

Protected Fields

[more]int n
matrix dimension
[more]int bw
number of bands in the triangular matrix
[more]T* mem
matrix matrix data, first diags, than lfact

oint n
matrix dimension

oint bw
number of bands in the triangular matrix

oT* mem
matrix matrix data, first diags, than lfact

o FlatBandCholeskyFactors(int an, int abw, T* amem)
assign dimension, bandwith and memory

o FlatBandCholeskyFactors()
default constructor

ovoid Factor(const FlatSymBandMatrix<T> & a)
factor bandmatrix a

otemplate<class TVX, class TVY> void Mult(const FlatVector<TVX> & x, FlatVector<TVY> & y) const
solve with factored matrices

oostream& Print(ostream & ost) const
print matrix factors

oint Index(int i, int j) const
compute linear position of matrix element (i,j)

oconst T& operator() (int i, int j) const
matrix element (i,j), (i,j) must be a valid position

oT& operator() (int i, int j)
matrix element (i,j), (i,j) must be a valid position

oint Size() const
matrix size

oint BandWidth() const
band-width of triangular matrix

ostatic 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++.