ml::Tvec9< DT > Class Template Reference

An nine dimensional vector class for floating point types. More...

#include <mlVector9.h>

Inheritance diagram for ml::Tvec9< DT >:

ml::FloatingPointVector< DT, 9 > ml::FloatingPointVectorDataContainerBase< DT, size >

List of all members.

Public Types

typedef DT ComponentType
 A typedef to "export" the type of components.

Public Member Functions

constructors
 Tvec9 (const DT value=0)
 Default and value constructor.
 Tvec9 (const Tvec9< DT > &v)
 Copy constructor from Tvec9.
 Tvec9 (const FloatingPointVector< DT, 9 > &v)
 Copy constructor from FloatingPointVector.
 Tvec9 (const DT x, const DT y, const DT z, const DT c, const DT t, const DT u, const DT v, const DT w, const DT a)
 Build the vector from the scalars x, y, z, c, t, u, v and w to the components 0 to 8, respectively.
Other operators and methods
void assign (const DT x, const DT y, const DT z, const DT c, const DT t, const DT u, const DT v, const DT w, const DT a)
 Set all components to the passed values.


Detailed Description

template<class DT>
class ml::Tvec9< DT >

An nine dimensional vector class for floating point types.

A nine dimensional vector class.

Definition at line 33 of file mlVector9.h.


Member Typedef Documentation

template<class DT>
typedef DT ml::Tvec9< DT >::ComponentType

A typedef to "export" the type of components.

Reimplemented from ml::FloatingPointVector< DT, 9 >.

Definition at line 37 of file mlVector9.h.


Constructor & Destructor Documentation

template<class DT>
ml::Tvec9< DT >::Tvec9 ( const DT  value = 0  )  [inline, explicit]

Default and value constructor.

Set all entries to a user given value. value is the init value for all entries. 0 is the default value.

Definition at line 45 of file mlVector9.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT>
ml::Tvec9< DT >::Tvec9 ( const Tvec9< DT > &  v  )  [inline]

Copy constructor from Tvec9.

Definition at line 51 of file mlVector9.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT>
ml::Tvec9< DT >::Tvec9 ( const FloatingPointVector< DT, 9 > &  v  )  [inline]

Copy constructor from FloatingPointVector.

This allows the usage of SclarVectorTemplate objects of the same DT in operators using the Tvec9, because the FloatingPointVector objects can implicitly be cast.

Definition at line 59 of file mlVector9.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT>
ml::Tvec9< DT >::Tvec9 ( const DT  x,
const DT  y,
const DT  z,
const DT  c,
const DT  t,
const DT  u,
const DT  v,
const DT  w,
const DT  a 
) [inline]

Build the vector from the scalars x, y, z, c, t, u, v and w to the components 0 to 8, respectively.

Definition at line 66 of file mlVector9.h.

References ML_TRACE_IN_TIME_CRITICAL.


Member Function Documentation

template<class DT>
void ml::Tvec9< DT >::assign ( const DT  x,
const DT  y,
const DT  z,
const DT  c,
const DT  t,
const DT  u,
const DT  v,
const DT  w,
const DT  a 
) [inline]

Set all components to the passed values.

Definition at line 81 of file mlVector9.h.

References ML_TRACE_IN_TIME_CRITICAL.


The documentation for this class was generated from the following file:

Generated on Sat Sep 3 18:37:47 2011 for MLReference by  doxygen 1.5.8