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

Template class for a 5D vector for floating point types, derived from FloatingPointVector. More...

#include "mlLinearAlgebraSystem.h"
#include "mlLinearAlgebraDefs.h"
#include "mlFloatingPointVector.h"
#include "mlVector2.h"
#include "mlVector3.h"
#include "mlVector4.h"
#include "mlMatrix5.h"

Go to the source code of this file.

Classes

class  ml::Tvec5< DT >
 A five dimensional vector class for floating point types. More...

Namespaces

namespace  ml
 

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


Defines

#define _ML_VEC5_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]
 Internal helper macro for tMat5 with Tvec5 multiplications. Do not use.

Typedefs

Specializations for float, double and long double.
typedef Tvec5< MLfloatml::Vector5f
 A vector with 5 components of type float.
typedef Tvec5< MLdoubleml::Vector5d
 A vector with 5 components of type double.
typedef Tvec5< MLldoubleml::Vector5ld
 A vector with 5 components of type long double.
typedef Tvec5< MLdoubleml::Vector5
 A vector with 5 components of type double.
Deprecated
typedef Tvec5< MLfloatml::vecf5
typedef Tvec5< MLdoubleml::vecd5
typedef Tvec5< MLldoubleml::vecld5
typedef Tvec5< MLdoubleml::vec5

Functions

template<class DT >
Tvec5< DT > ml::operator* (const Tmat5< DT > &a, const Tvec5< DT > &v)
 Multiplies 5x5 matrix a with vector v.
template<class DT >
Tvec5< DT > ml::operator* (const Tvec5< DT > &v, const Tmat5< DT > &a)
 Multiplies vector v with 5x5 matrix a.

Detailed Description

Template class for a 5D vector for floating point types, derived from FloatingPointVector.

Author:
Wolf Spindler
Date:
09/2001

Definition in file mlVector5.h.


Define Documentation

#define _ML_VEC5_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]

Internal helper macro for tMat5 with Tvec5 multiplications. Do not use.

Definition at line 214 of file mlVector5.h.

Referenced by ml::operator*().