aimsalgo  5.1.2
Neuroimaging image processing
GaussJordan< T > Class Template Reference

#include <aims/math/gaussj.h>

Public Member Functions

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

Detailed Description

template<class T>
class GaussJordan< T >

Definition at line 49 of file gaussj.h.

Constructor & Destructor Documentation

◆ GaussJordan()

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

Constructor and destructor.

constructor

Definition at line 56 of file gaussj.h.

◆ ~GaussJordan()

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

destructor

Definition at line 58 of file gaussj.h.

Member Function Documentation

◆ doit()

template<class T >
bool GaussJordan< T >::doit ( carto::rc_ptr< carto::Volume< T > > &  ,
carto::rc_ptr< carto::Volume< 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: