Public Member Functions | Private Member Functions | Private Attributes | List of all members
gte::BandedMatrix< Real > Class Template Reference

#include <GteBandedMatrix.h>

Public Member Functions

 BandedMatrix (int size, int numLBands, int numUBands)
 
bool CholeskyFactor ()
 
template<bool RowMajor>
bool ComputeInverse (Real *inverse) const
 
std::vector< Real > & GetDBand ()
 
std::vector< Real > const & GetDBand () const
 
std::vector< std::vector< Real > > & GetLBands ()
 
std::vector< std::vector< Real > > const & GetLBands () const
 
int GetSize () const
 
std::vector< std::vector< Real > > & GetUBands ()
 
std::vector< std::vector< Real > > const & GetUBands () const
 
Real & operator() (int r, int c)
 
Real const & operator() (int r, int c) const
 
bool SolveSystem (Real *bVector)
 
template<bool RowMajor>
bool SolveSystem (Real *bMatrix, int numBColumns)
 
 ~BandedMatrix ()
 

Private Member Functions

bool SolveLower (Real *dataVector) const
 
template<bool RowMajor>
bool SolveLower (Real *dataMatrix, int numColumns) const
 
bool SolveUpper (Real *dataVector) const
 
template<bool RowMajor>
bool SolveUpper (Real *dataMatrix, int numColumns) const
 

Private Attributes

std::vector< Real > mDBand
 
std::vector< std::vector< Real > > mLBands
 
int mSize
 
std::vector< std::vector< Real > > mUBands
 
Real mZero
 

Detailed Description

template<typename Real>
class gte::BandedMatrix< Real >

Definition at line 18 of file GteBandedMatrix.h.

Constructor & Destructor Documentation

template<typename Real >
gte::BandedMatrix< Real >::~BandedMatrix ( )

Definition at line 114 of file GteBandedMatrix.h.

template<typename Real >
gte::BandedMatrix< Real >::BandedMatrix ( int  size,
int  numLBands,
int  numUBands 
)

Definition at line 119 of file GteBandedMatrix.h.

Member Function Documentation

template<typename Real >
bool gte::BandedMatrix< Real >::CholeskyFactor ( )

Definition at line 277 of file GteBandedMatrix.h.

template<typename Real >
template<bool RowMajor>
bool gte::BandedMatrix< Real >::ComputeInverse ( Real *  inverse) const

Definition at line 357 of file GteBandedMatrix.h.

template<typename Real >
std::vector< Real > & gte::BandedMatrix< Real >::GetDBand ( )
inline

Definition at line 167 of file GteBandedMatrix.h.

template<typename Real >
std::vector< Real > const & gte::BandedMatrix< Real >::GetDBand ( ) const
inline

Definition at line 173 of file GteBandedMatrix.h.

template<typename Real >
std::vector< std::vector< Real > > & gte::BandedMatrix< Real >::GetLBands ( )
inline

Definition at line 179 of file GteBandedMatrix.h.

template<typename Real >
std::vector< std::vector< Real > > const & gte::BandedMatrix< Real >::GetLBands ( ) const
inline

Definition at line 185 of file GteBandedMatrix.h.

template<typename Real >
int gte::BandedMatrix< Real >::GetSize ( ) const
inline

Definition at line 161 of file GteBandedMatrix.h.

template<typename Real >
std::vector< std::vector< Real > > & gte::BandedMatrix< Real >::GetUBands ( )
inline

Definition at line 191 of file GteBandedMatrix.h.

template<typename Real >
std::vector< std::vector< Real > > const & gte::BandedMatrix< Real >::GetUBands ( ) const
inline

Definition at line 197 of file GteBandedMatrix.h.

template<typename Real >
Real & gte::BandedMatrix< Real >::operator() ( int  r,
int  c 
)

Definition at line 203 of file GteBandedMatrix.h.

template<typename Real >
Real const & gte::BandedMatrix< Real >::operator() ( int  r,
int  c 
) const

Definition at line 240 of file GteBandedMatrix.h.

template<typename Real >
bool gte::BandedMatrix< Real >::SolveLower ( Real *  dataVector) const
private

Definition at line 456 of file GteBandedMatrix.h.

template<typename Real >
template<bool RowMajor>
bool gte::BandedMatrix< Real >::SolveLower ( Real *  dataMatrix,
int  numColumns 
) const
private

Definition at line 506 of file GteBandedMatrix.h.

template<typename Real >
bool gte::BandedMatrix< Real >::SolveSystem ( Real *  bVector)

Definition at line 339 of file GteBandedMatrix.h.

template<typename Real >
template<bool RowMajor>
bool gte::BandedMatrix< Real >::SolveSystem ( Real *  bMatrix,
int  numBColumns 
)

Definition at line 348 of file GteBandedMatrix.h.

template<typename Real >
bool gte::BandedMatrix< Real >::SolveUpper ( Real *  dataVector) const
private

Definition at line 480 of file GteBandedMatrix.h.

template<typename Real >
template<bool RowMajor>
bool gte::BandedMatrix< Real >::SolveUpper ( Real *  dataMatrix,
int  numColumns 
) const
private

Definition at line 540 of file GteBandedMatrix.h.

Member Data Documentation

template<typename Real>
std::vector<Real> gte::BandedMatrix< Real >::mDBand
private

Definition at line 104 of file GteBandedMatrix.h.

template<typename Real>
std::vector<std::vector<Real> > gte::BandedMatrix< Real >::mLBands
private

Definition at line 105 of file GteBandedMatrix.h.

template<typename Real>
int gte::BandedMatrix< Real >::mSize
private

Definition at line 103 of file GteBandedMatrix.h.

template<typename Real>
std::vector<std::vector<Real> > gte::BandedMatrix< Real >::mUBands
private

Definition at line 105 of file GteBandedMatrix.h.

template<typename Real>
Real gte::BandedMatrix< Real >::mZero
mutableprivate

Definition at line 109 of file GteBandedMatrix.h.


The documentation for this class was generated from the following file:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05