In file bandmatrix.hpp:

template<class T = double> class FlatSymBandMatrix

A symmetric band-matrix

Documentation

A symmetric band-matrix

Inheritance:


Public Fields

[more]typedef typename mat_traits<T>: :TV_COL TV
the accoring vector type

Public Methods

[more] FlatSymBandMatrix(int an, int abw, T* adata)
Construction of FlatSymBandMatirx
[more]void Mult(const FlatVector<TV> & x, FlatVector<TV> & y) const
Matrix vector multiplication
[more]ostream& Print(ostream & ost) const
Print matrix to stream
[more]int Height() const
matrix height
[more]int BandWidth() const
matrix width
[more]const T& operator() (int i, int j) const
access operator.
[more]T& operator() (int i, int j)
access operator.
[more]bool Used(int i, int j) const
check whether i, j refers to a valid element
[more]FlatSymBandMatrix& operator= (const T & val)
assignes a constant value
[more]static int RequiredMem(int n, int bw)
computes required memory

Protected Fields

[more]int n
the matrix size
[more]int bw
number of bands in the triangular matrix
[more]T* data
the matrix entries

oint n
the matrix size

oint bw
number of bands in the triangular matrix

oT* data
the matrix entries

otypedef typename mat_traits<T>: :TV_COL TV
the accoring vector type

o FlatSymBandMatrix(int an, int abw, T* adata)
Construction of FlatSymBandMatirx

ovoid Mult(const FlatVector<TV> & x, FlatVector<TV> & y) const
Matrix vector multiplication

oostream& Print(ostream & ost) const
Print matrix to stream

oint Height() const
matrix height

oint BandWidth() const
matrix width

oconst T& operator() (int i, int j) const
access operator. Assumes that referes to an element in the band

oT& operator() (int i, int j)
access operator. Assumes that referes to an element in the band

obool Used(int i, int j) const
check whether i, j refers to a valid element

oFlatSymBandMatrix& operator= (const T & val)
assignes a constant value

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