A.I.M.S algorithms


GaussJordan< T > Class Template Reference

#include <aims/math/gaussj.h>

Public Member Functions

bool doit (AimsData< T > &, AimsData< T > &, int mUtil=-1)
 Gauss-Jordan elimination procedure. More...
 
 GaussJordan ()
 Constructor and destructor. More...
 
virtual ~GaussJordan ()
 destructor More...
 

Detailed Description

template<class T>
class GaussJordan< T >

Definition at line 45 of file gaussj.h.

Constructor & Destructor Documentation

template<class T >
GaussJordan< T >::GaussJordan ( )
inline

Constructor and destructor.

constructor

Definition at line 52 of file gaussj.h.

template<class T >
virtual GaussJordan< T >::~GaussJordan ( )
inlinevirtual

destructor

Definition at line 54 of file gaussj.h.

Member Function Documentation

template<class T >
bool GaussJordan< T >::doit ( AimsData< T > &  ,
AimsData< T > &  ,
int  mUtil = -1 
)

Gauss-Jordan elimination procedure.

\ This function is adapted from the Numerical Recipes in C. \ It returns a matrix corresponding to the set of solution vectors of a linear equation solution by Gauss-Jordan elimination of the input matrix. \ The first parameter is the input matrix. On ouput, it is replaced by its matrix inverse. \ The second input is a matrix containing the right-hand side vectors. On output, this matrix is replaced by the corresponding set of solution vectors (those that are also returned by the function). \

Parameters
mUtilallows to perform the elimination only on a subset of the input matrix where mUtils represents the number of columns of the input matrix used for the computation.

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