FactorLU Class Reference

Class for performing LU matrix factorizations. More...

#include <LinearAlgebra.h>

Inheritance diagram for FactorLU:
Factor

List of all members.

Public Member Functions

 ~FactorLU ()
 FactorLU ()
 FactorLU (const FactorLU &c)
FactorLUoperator= (const FactorLU &rhs)
template<class ELT >
 FactorLU (const Matrix_< ELT > &m)
template<class ELT >
void factor (const Matrix_< ELT > &m)
 factors a matrix
template<class ELT >
void solve (const Vector_< ELT > &b, Vector_< ELT > &x) const
 solves a single right hand side
template<class ELT >
void solve (const Matrix_< ELT > &b, Matrix_< ELT > &x) const
 solves multiple right hand sides
template<class ELT >
void getL (Matrix_< ELT > &l) const
 returns the lower triangle of an LU factorization
template<class ELT >
void getU (Matrix_< ELT > &u) const
 returns the upper triangle of an LU factorization
template<class ELT >
void inverse (Matrix_< ELT > &m) const
 returns the inverse of a matrix using an LU factorization
bool isSingular () const
 returns true if matrix was singular
int getSingularIndex () const
 returns the first diagonal which was found to be singular

Protected Attributes

class FactorLURepBase * rep

Detailed Description

Class for performing LU matrix factorizations.


Constructor & Destructor Documentation

~FactorLU (  ) 
FactorLU (  ) 
FactorLU ( const FactorLU c  ) 
FactorLU ( const Matrix_< ELT > &  m  )  [inline]

Member Function Documentation

void factor ( const Matrix_< ELT > &  m  )  [inline]

factors a matrix

void getL ( Matrix_< ELT > &  l  )  const [inline]

returns the lower triangle of an LU factorization

int getSingularIndex (  )  const

returns the first diagonal which was found to be singular

void getU ( Matrix_< ELT > &  u  )  const [inline]

returns the upper triangle of an LU factorization

void inverse ( Matrix_< ELT > &  m  )  const [inline]

returns the inverse of a matrix using an LU factorization

bool isSingular (  )  const

returns true if matrix was singular

FactorLU& operator= ( const FactorLU rhs  ) 
void solve ( const Matrix_< ELT > &  b,
Matrix_< ELT > &  x 
) const [inline]

solves multiple right hand sides

Reimplemented from Factor.

void solve ( const Vector_< ELT > &  b,
Vector_< ELT > &  x 
) const [inline]

solves a single right hand side

Reimplemented from Factor.


Member Data Documentation

class FactorLURepBase* rep [protected]

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

Generated on Thu Aug 12 16:38:02 2010 for SimTKcore by  doxygen 1.6.1