|
STK++ 1.0
|
The GinvSymmetric class is a functor allowing to compute the generalized inverse of a symmetric matrix. More...
#include <STK_GinvSymmetric.h>
Public Member Functions | |
| GinvSymmetric () | |
| Constructor. | |
| virtual | ~GinvSymmetric () |
| Destructor. | |
| void | operator() (MatrixSquare *&x) |
| compute the generalized inverse of the symmetric matrix x. | |
| void | operator() (MatrixSquare &x) |
| Compute the generalized inverse of the symmetric matrix x. | |
The GinvSymmetric class is a functor allowing to compute the generalized inverse of a symmetric matrix.
Definition at line 48 of file STK_GinvSymmetric.h.
| STK::GinvSymmetric::GinvSymmetric | ( | ) | [inline] |
| virtual STK::GinvSymmetric::~GinvSymmetric | ( | ) | [inline, virtual] |
| void STK::GinvSymmetric::operator() | ( | MatrixSquare *& | x | ) | [inline] |
compute the generalized inverse of the symmetric matrix x.
x is overwritten by the result.
| x | the matrix to inverse. |
Definition at line 59 of file STK_GinvSymmetric.h.
References STK::EigenvaluesSymmetric::ginv(), and STK::EigenvaluesSymmetric::run().
{
EigenvaluesSymmetric* decomp = new EigenvaluesSymmetric(x);
decomp->run();
delete x;
x = decomp->ginv();
delete decomp;
}

| void STK::GinvSymmetric::operator() | ( | MatrixSquare & | x | ) | [inline] |
Compute the generalized inverse of the symmetric matrix x.
x is overwritten by the result.
| x | the matrix to inverse. |
Definition at line 71 of file STK_GinvSymmetric.h.
References STK::EigenvaluesSymmetric::ginv(), and STK::EigenvaluesSymmetric::run().
{
EigenvaluesSymmetric* decomp = new EigenvaluesSymmetric(&x);
decomp->run();
decomp->ginv(x);
delete decomp;
}
