STK++ 1.0
STK::GinvSymmetric Class Reference

The GinvSymmetric class is a functor allowing to compute the generalized inverse of a symmetric matrix. More...

#include <STK_GinvSymmetric.h>

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

STK::GinvSymmetric::GinvSymmetric ( ) [inline]

Constructor.

Definition at line 52 of file STK_GinvSymmetric.h.

{ ;}
virtual STK::GinvSymmetric::~GinvSymmetric ( ) [inline, virtual]

Destructor.

Definition at line 54 of file STK_GinvSymmetric.h.

{ ;}

Member Function Documentation

void STK::GinvSymmetric::operator() ( MatrixSquare *&  x) [inline]

compute the generalized inverse of the symmetric matrix x.

x is overwritten by the result.

Parameters:
xthe 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;
    }

Here is the call graph for this function:

void STK::GinvSymmetric::operator() ( MatrixSquare x) [inline]

Compute the generalized inverse of the symmetric matrix x.

x is overwritten by the result.

Parameters:
xthe 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;
    }

Here is the call graph for this function:


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