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

Template class for a 6x6 matrix of 6 rows of Tvec6 vectors. More...

Go to the source code of this file.

Classes

class  ml::Tmat6< DT >
 A six by six matrix class of six 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 Tmat6< MLfloatml::Matrix6f
 A 6x6 matrix of type float.
typedef Tmat6< MLdoubleml::Matrix6d
 A 6x6 matrix of type double.
typedef Tmat6< MLldoubleml::Matrix6ld
 A 6x6 matrix of type long double.
typedef Tmat6< MLdoubleml::Matrix6
 The standard 6x6 matrix of type double.
Deprecated
typedef Tmat6< MLfloatml::matf6
 A floating point 6x6 matrix.
typedef Tmat6< MLdoubleml::matd6
 A double 6x6 matrix.
typedef Tmat6< MLldoubleml::matld6
 A long double double 6x6 matrix.
typedef Tmat6< MLdoubleml::mat6
 Define the standard mat6 type, using double.

Functions

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

Special Functions

#define _ML_MAT6_RC(i, j)
 Internal helper macro to multiply two matrices, do not use.
#define _ML_MAT6_RC(i)   a[i][0]*v[0] + a[i][1]*v[1] + a[i][2]*v[2] + a[i][3]*v[3] + a[i][4]*v[4] + a[i][5]*v[5]
 Internal helper macro to multiply two matrices, do not use.
template<class DT >
Tmat6< DT > ml::operator* (const Tmat6< DT > &a, const Tmat6< DT > &b)
 Matrix product.
template<class DT >
bool ml::operator== (const Tmat6< DT > &a, const Tmat6< DT > &b)
 a == b ? Return true if yes, otherwise false.
template<class DT >
bool ml::operator!= (const Tmat6< DT > &a, const Tmat6< DT > &b)
 a != b ? Return true if yes, otherwise false.
template<class DT >
Tvec6< DT > ml::operator* (const Tmat6< DT > &a, const Tvec6< DT > &v)
 Multiplies 6x6 matrix a with vector v.
template<class DT >
Tvec6< DT > ml::operator* (const Tvec6< DT > &v, const Tmat6< DT > &a)
 Multiplies vector v with 6x6 matrix a.

Detailed Description

Template class for a 6x6 matrix of 6 rows of Tvec6 vectors.

Author:
Wolf Spindler
Date:
11/2005

Definition in file mlMatrix6.h.


Define Documentation

#define _ML_MAT6_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] + a[i][5]*b[5][j]

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

Internal helper macro to multiply a matrix with a vector - do not use.

Definition at line 719 of file mlMatrix6.h.

Referenced by ml::operator*().

#define _ML_MAT6_RC (   i)    a[i][0]*v[0] + a[i][1]*v[1] + a[i][2]*v[2] + a[i][3]*v[3] + a[i][4]*v[4] + a[i][5]*v[5]

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

Internal helper macro to multiply a matrix with a vector - do not use.

Definition at line 719 of file mlMatrix6.h.