ML Reference
MeVis/Foundation/Sources/MLLinearAlgebra/mlMatrix5.h File Reference

Template class for a 5x5 matrix of 5 rows of Tvec5 vectors. More...

#include "mlLinearAlgebraSystem.h"
#include "mlLinearAlgebraDefs.h"
#include "mlFloatingPointMatrix.h"
#include "mlVector5.h"
#include "mlMatrix4.h"

Go to the source code of this file.

Classes

class  ml::Tmat5< DT >
 A five by five matrix class of five row vectors. More...

Namespaces

namespace  ml
 

Define the namespace name like in the ML. Default is ml.


namespace  std
 

Provide trigonometric etc.


Typedefs

Specializations for float, double and long double.
typedef Tmat5< MLfloatml::Matrix5f
 A 5x5 matrix of type float.
typedef Tmat5< MLdoubleml::Matrix5d
 A 5x5 matrix of type double.
typedef Tmat5< MLldoubleml::Matrix5ld
 A 5x5 matrix of type long double.
typedef Tmat5< MLdoubleml::Matrix5
 The standard 5x5 matrix of type double.
Deprecated
typedef Tmat5< MLfloatml::matf5
 A floating point 5x5 matrix.
typedef Tmat5< MLdoubleml::matd5
 A double 5x5 matrix.
typedef Tmat5< MLldoubleml::matld5
 A long double double 5x5 matrix.
typedef Tmat5< MLdoubleml::mat5
 Define the standard mat5 type, using double.

Functions

template<class DT >
std::ostream & std::operator<< (std::ostream &os, const ml::Tmat5< DT > &m)
 Output to std::ostream.
template<class DT >
std::istream & std::operator>> (std::istream &is, ml::Tmat5< DT > &m)
 Input from stream.
Standalone operators of class Tmat5.
template<class DT >
Tmat5< DT > ml::operator- (const Tmat5< DT > &a)
 Returns matrix a with all values negated.
template<class DT >
Tmat5< DT > ml::operator+ (const Tmat5< DT > &a, const Tmat5< DT > &b)
 Returns component wise sum of matrix a and matrix b.
template<class DT >
Tmat5< DT > ml::operator- (const Tmat5< DT > &a, const Tmat5< DT > &b)
 Returns component wise difference of matrix a and matrix b.
template<class DT >
Tmat5< DT > ml::operator* (const Tmat5< DT > &a, const DT d)
 Returns the component wise multiplication of matrix a with scalar d.
template<class DT >
Tmat5< DT > ml::operator* (const DT d, const Tmat5< DT > &a)
 Returns the component wise multiplication of scalar d with matrix a.
template<class DT >
Tmat5< DT > ml::operator/ (const Tmat5< DT > &a, const DT d)
 Return the component wise division of matrix a by scalar d.

Special Functions

#define _ML_MAT5_RC(i, j)
 Internal helper macro to multiply two matrices, do not use.
template<class DT >
Tmat5< DT > ml::operator* (const Tmat5< DT > &a, const Tmat5< DT > &b)
 Matrix product.
template<class DT >
bool ml::operator== (const Tmat5< DT > &a, const Tmat5< DT > &b)
 a == b ? Return true if yes, otherwise false.
template<class DT >
bool ml::operator!= (const Tmat5< DT > &a, const Tmat5< DT > &b)
 a != b ? Return true if yes, otherwise false.

Detailed Description

Template class for a 5x5 matrix of 5 rows of Tvec5 vectors.

Author:
Wolf Spindler
Date:
11/2005

Definition in file mlMatrix5.h.


Define Documentation

#define _ML_MAT5_RC (   i,
 
)
Value:
a[i][0]*b[0][j] + a[i][1]*b[1][j] + a[i][2]*b[2][j] + \
a[i][3]*b[3][j] + a[i][4]*b[4][j]

Internal helper macro to multiply two matrices, do not use.

Definition at line 746 of file mlMatrix5.h.

Referenced by ml::operator*().