In file bandmatrix.hpp: A symmetric band-matrix
Documentation
A symmetric band-matrix
Inheritance:
Public Fields
-
typedef typename mat_traits<T>: :TV_COL TV
- the accoring vector type
Public Methods
-
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.
-
T& operator() (int i, int j)
- access operator.
-
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 int RequiredMem(int n, int bw)
- computes required memory
Protected Fields
-
int n
- the matrix size
-
int bw
- number of bands in the triangular matrix
-
T* data
- the matrix entries
int n
- the matrix size
int bw
- number of bands in the triangular matrix
T* data
- the matrix entries
typedef typename mat_traits<T>: :TV_COL TV
- the accoring vector type
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
referes to an element in the band
T& operator() (int i, int j)
- access operator. Assumes that
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 int RequiredMem(int n, int bw)
- computes required memory
- Direct child classes:
- SymBandMatrix
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.