Wm4::LinearSystem< Real > Class Template Reference

#include <Wm4LinearSystem.h>

List of all members.

Public Types

typedef std::map< std::pair
< int, int >, Real > 
SparseMatrix

Public Member Functions

bool Inverse (const GMatrix< Real > &rkA, GMatrix< Real > &rkInvA)
bool Invert (const BandedMatrix< Real > &rkA, GMatrix< Real > &rkInvA)
 LinearSystem ()
bool Solve (const GMatrix< Real > &rkA, const Real *afB, Real *afX)
bool Solve2 (const Real aafA[2][2], const Real afB[2], Real afX[2])
bool Solve3 (const Real aafA[3][3], const Real afB[3], Real afX[3])
bool SolveBanded (const BandedMatrix< Real > &rkA, const Real *afB, Real *afX)
bool SolveConstTri (int iSize, Real fA, Real fB, Real fC, Real *afR, Real *afU)
bool SolveSymmetricCG (int iSize, const SparseMatrix &rkA, const Real *afB, Real *afX)
bool SolveSymmetricCG (const GMatrix< Real > &rkA, const Real *afB, Real *afX)
bool SolveTri (int iSize, Real *afA, Real *afB, Real *afC, Real *afR, Real *afU)

Public Attributes

Real ZeroTolerance

Detailed Description

template<class Real>
class Wm4::LinearSystem< Real >

Definition at line 28 of file Wm4LinearSystem.h.


Member Typedef Documentation

template<class Real >
typedef std::map<std::pair<int,int>,Real> Wm4::LinearSystem< Real >::SparseMatrix

Definition at line 96 of file Wm4LinearSystem.h.


Constructor & Destructor Documentation

template<class Real >
Wm4::LinearSystem< Real >::LinearSystem (  )  [inline]

Definition at line 24 of file Wm4LinearSystem.cpp.

References Wm4::LinearSystem< Real >::ZeroTolerance.


Member Function Documentation

template<class Real >
bool Wm4::LinearSystem< Real >::Inverse ( const GMatrix< Real > &  rkA,
GMatrix< Real > &  rkInvA 
) [inline]
template<class Real >
bool Wm4::LinearSystem< Real >::Invert ( const BandedMatrix< Real > &  rkA,
GMatrix< Real > &  rkInvA 
) [inline]

Definition at line 728 of file Wm4LinearSystem.cpp.

References Wm4::BandedMatrix< Real >::GetSize().

template<class Real >
bool Wm4::LinearSystem< Real >::Solve ( const GMatrix< Real > &  rkA,
const Real *  afB,
Real *  afX 
) [inline]
template<class Real >
bool Wm4::LinearSystem< Real >::Solve2 ( const Real  aafA[2][2],
const Real  afB[2],
Real  afX[2] 
) [inline]

Definition at line 30 of file Wm4LinearSystem.cpp.

References Wm4::LinearSystem< Real >::ZeroTolerance.

template<class Real >
bool Wm4::LinearSystem< Real >::Solve3 ( const Real  aafA[3][3],
const Real  afB[3],
Real  afX[3] 
) [inline]

Definition at line 46 of file Wm4LinearSystem.cpp.

References Wm4::LinearSystem< Real >::ZeroTolerance.

template<class Real >
bool Wm4::LinearSystem< Real >::SolveBanded ( const BandedMatrix< Real > &  rkA,
const Real *  afB,
Real *  afX 
) [inline]
template<class Real >
bool Wm4::LinearSystem< Real >::SolveConstTri ( int  iSize,
Real  fA,
Real  fB,
Real  fC,
Real *  afR,
Real *  afU 
) [inline]

Definition at line 337 of file Wm4LinearSystem.cpp.

References WM4_DELETE, and WM4_NEW.

template<class Real >
bool Wm4::LinearSystem< Real >::SolveSymmetricCG ( int  iSize,
const SparseMatrix rkA,
const Real *  afB,
Real *  afX 
) [inline]
template<class Real >
bool Wm4::LinearSystem< Real >::SolveSymmetricCG ( const GMatrix< Real > &  rkA,
const Real *  afB,
Real *  afX 
) [inline]
template<class Real >
bool Wm4::LinearSystem< Real >::SolveTri ( int  iSize,
Real *  afA,
Real *  afB,
Real *  afC,
Real *  afR,
Real *  afU 
) [inline]

Definition at line 300 of file Wm4LinearSystem.cpp.

References WM4_DELETE, and WM4_NEW.


Member Data Documentation

template<class Real >
Real Wm4::LinearSystem< Real >::ZeroTolerance

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

Generated on Wed Nov 23 19:02:49 2011 for FreeCAD by  doxygen 1.6.1