Static Public Member Functions

zeus::TLinearAlgebraHelper Class Reference

#include <LinearAlgebraHelper.h>

List of all members.

Static Public Member Functions

static Float calcDeterminant2 (const Float &a11, const Float &a12, const Float &a21, const Float &a22)
static Float calcDeterminant3 (const Float &a11, const Float &a12, const Float &a13, const Float &a21, const Float &a22, const Float &a23, const Float &a31, const Float &a32, const Float &a33)
static Float calcDeterminant (const TMatrix &rMatrix)

Detailed Description

The LinearAlgebraHelper is a static class encapsulating helper functions for linear algebra.


Member Function Documentation

Float zeus::TLinearAlgebraHelper::calcDeterminant ( const TMatrix rMatrix ) [static]

calculates the determinant of an n x n matrix

Parameters:
rMatrix: Matrix for determinat evaluation
Returns:
Value of the determinant.
Float zeus::TLinearAlgebraHelper::calcDeterminant2 ( const Float &  a11,
const Float &  a12,
const Float &  a21,
const Float &  a22 
) [inline, static]

2-dimensional determinant. The values are labeled as a_ij (Matrix element in row i and column j).

Parameters:
a11[IN]: Matrix element in row 1 and column 1.
a12[IN]: Matrix element in row 1 and column 2.
a21[IN]: Matrix element in row 2 and column 1.
a22[IN]: Matrix element in row 2 and column 2.
Returns:
: Value of the determinant.
Float zeus::TLinearAlgebraHelper::calcDeterminant3 ( const Float &  a11,
const Float &  a12,
const Float &  a13,
const Float &  a21,
const Float &  a22,
const Float &  a23,
const Float &  a31,
const Float &  a32,
const Float &  a33 
) [inline, static]

3-dimensional determinant. The values are labeled as a_ij (Matrix element in row i and column j).

Parameters:
a11[IN]: Matrix element in row 1 and column 1.
a12[IN]: Matrix element in row 1 and column 2.
a13[IN]: Matrix element in row 1 and column 3.
a21[IN]: Matrix element in row 2 and column 1.
a22[IN]: Matrix element in row 2 and column 2.
a23[IN]: Matrix element in row 2 and column 3.
a31[IN]: Matrix element in row 3 and column 1.
a32[IN]: Matrix element in row 3 and column 2.
a33[IN]: Matrix element in row 3 and column 3.
Returns:
: Value of the determinant.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:32:27