Simbody
Public Member Functions

SimTK::Factor Class Reference

Base class for the various matrix factorizations. More...

#include <LinearAlgebra.h>

Inheritance diagram for SimTK::Factor:

List of all members.

Public Member Functions

 Factor ()
template<class ELT >
 Factor (Matrix_< ELT > m)
 creates an factorization of a matrix
template<class ELT >
void solve (const Vector_< ELT > &b, Vector_< ELT > &x) const
 solves a single right hand side using a factorization
template<class ELT >
void solve (const Matrix_< ELT > &b, Matrix_< ELT > &x) const
 solves multiple right hand sides using a factorization

Detailed Description

Base class for the various matrix factorizations.


Constructor & Destructor Documentation

SimTK::Factor::Factor ( ) [inline]
template<class ELT >
SimTK::Factor::Factor ( Matrix_< ELT >  m)

creates an factorization of a matrix


Member Function Documentation

template<class ELT >
void SimTK::Factor::solve ( const Vector_< ELT > &  b,
Vector_< ELT > &  x 
) const

solves a single right hand side using a factorization

Reimplemented in SimTK::FactorLU, and SimTK::FactorQTZ.

template<class ELT >
void SimTK::Factor::solve ( const Matrix_< ELT > &  b,
Matrix_< ELT > &  x 
) const

solves multiple right hand sides using a factorization

Reimplemented in SimTK::FactorLU, and SimTK::FactorQTZ.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines