|
latest version v1.9 - last update 10 Apr 2010 |
|
#include <ltiEquationSystem.h>


Public Member Functions | |
| luSolution () | |
| luSolution (const parameters &theParams) | |
| luSolution (const matrix< T > &theMatrix) | |
| bool | apply (vector< T > &b) |
| bool | apply (const vector< T > &b, vector< T > &x) |
| bool | apply (matrix< T > &B) |
| bool | apply (const matrix< T > &B, matrix< T > &X) |
| luSolution & | copy (const luSolution &other) |
| virtual functor * | clone () const |
| virtual const char * | getTypeName () const |
LU solution functor.
Solves the linear equation Ax=b using LU decomposition.
| lti::luSolution< T >::luSolution | ( | ) | [inline] |
default constructor
| lti::luSolution< T >::luSolution | ( | const parameters & | theParams | ) | [inline] |
constructor, sets the parameters
| lti::luSolution< T >::luSolution | ( | const matrix< T > & | theMatrix | ) | [inline] |
constructor, sets the matrix A
| bool lti::luSolution< T >::apply | ( | const matrix< T > & | B, | |
| matrix< T > & | X | |||
| ) |
onCopy version of apply.
Solves the set of n linear equations A x=b where x is the i-th _column_ vector of X and b the i-th _column_ vector of B. For use with multiple right sides b of a set of equation systems Ax=b, the matrix decomposition is computed only on calling apply the first time. After that the existing decomposition will be used until calling setParameters.
| bool lti::luSolution< T >::apply | ( | matrix< T > & | B | ) |
onPlace version of apply.
Solves the set of n linear equations A x=b where x is the i-th _column_ vector of X and b the i-th _column_ vector of B. For use with multiple right sides b of a set of equation systems Ax=b, the matrix decomposition is computed only on calling apply the first time. After that the existing decomposition will be used until calling setParameters.
| bool lti::luSolution< T >::apply | ( | const vector< T > & | b, | |
| vector< T > & | x | |||
| ) |
onCopy version of apply.
Solves the set of n linear equations Ax=b. For use with multiple right sides b of a set of equation systems Ax=b, the matrix decomposition is computed only on calling apply the first time. After that the existing decomposition will be used until calling setParameters.
| bool lti::luSolution< T >::apply | ( | vector< T > & | b | ) |
onPlace version of apply.
Solves the set of n linear equations Ax=b. For use with multiple right sides b of a set of equation systems Ax=b, the matrix decomposition is computed only on calling apply the first time. After that the existing decomposition will be used until calling setParameters.
| virtual functor* lti::luSolution< T >::clone | ( | ) | const [inline, virtual] |
returns a pointer to a clone of the functor.
Implements lti::functor.
| luSolution& lti::luSolution< T >::copy | ( | const luSolution< T > & | other | ) |
copy data of "other" functor.
Reimplemented from lti::decompositionSolution< T >.
| virtual const char* lti::luSolution< T >::getTypeName | ( | void | ) | const [inline, virtual] |
returns the name of this type
Reimplemented from lti::decompositionSolution< T >.