ML Reference
ml::Tvec16< DT > Class Template Reference

A 16 dimensional vector class for floating point types. More...

#include <mlVector16.h>

Inheritance diagram for ml::Tvec16< DT >:
ml::FloatingPointVector< DT, 16 > ml::FloatingPointVectorDataContainerBase< DT, size >

List of all members.

Public Types

typedef FloatingPointVector
< DT, 16 > 
Superclass
 A typedef as a shorthand for the base class.
typedef DT ComponentType
 A typedef to "export" the type of components.

Public Member Functions

constructors
 Tvec16 (const DT value=0)
 Default and value constructor.
 Tvec16 (const Tvec16< DT > &v)
 Copy constructor from Tvec16.
 Tvec16 (const Superclass &v)
 Copy constructor from FloatingPointVector.
 Tvec16 (const DT x00, const DT x01, const DT x02, const DT x03, const DT x04, const DT x05, const DT x06, const DT x07, const DT x08, const DT x09, const DT x10, const DT x11, const DT x12, const DT x13, const DT x14, const DT x15)
 Build the vector from the scalars x00, ... x15 to the components 0 to 15, respectively.
Other operators and methods
void assign (const DT x00, const DT x01, const DT x02, const DT x03, const DT x04, const DT x05, const DT x06, const DT x07, const DT x08, const DT x09, const DT x10, const DT x11, const DT x12, const DT x13, const DT x14, const DT x15)
 Set all components to the corresponding passed values.

Detailed Description

template<class DT>
class ml::Tvec16< DT >

A 16 dimensional vector class for floating point types.

A 16 dimensional vector class.

Definition at line 33 of file mlVector16.h.


Member Typedef Documentation

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

A typedef to "export" the type of components.

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

Definition at line 40 of file mlVector16.h.

template<class DT>
typedef FloatingPointVector<DT,16> ml::Tvec16< DT >::Superclass

A typedef as a shorthand for the base class.

Definition at line 37 of file mlVector16.h.


Constructor & Destructor Documentation

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

Default and value constructor.

Set all entries to the passed value. value is the init value for all entries. 0 is the default.

Definition at line 48 of file mlVector16.h.

References ML_TRACE_IN_TIME_CRITICAL.

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

Copy constructor from Tvec16.

Definition at line 54 of file mlVector16.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT>
ml::Tvec16< DT >::Tvec16 ( const Superclass v) [inline]

Copy constructor from FloatingPointVector.

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

Definition at line 62 of file mlVector16.h.

References ML_TRACE_IN_TIME_CRITICAL.

template<class DT>
ml::Tvec16< DT >::Tvec16 ( const DT  x00,
const DT  x01,
const DT  x02,
const DT  x03,
const DT  x04,
const DT  x05,
const DT  x06,
const DT  x07,
const DT  x08,
const DT  x09,
const DT  x10,
const DT  x11,
const DT  x12,
const DT  x13,
const DT  x14,
const DT  x15 
) [inline]

Build the vector from the scalars x00, ... x15 to the components 0 to 15, respectively.

Definition at line 68 of file mlVector16.h.

References ML_TRACE_IN_TIME_CRITICAL.


Member Function Documentation

template<class DT>
void ml::Tvec16< DT >::assign ( const DT  x00,
const DT  x01,
const DT  x02,
const DT  x03,
const DT  x04,
const DT  x05,
const DT  x06,
const DT  x07,
const DT  x08,
const DT  x09,
const DT  x10,
const DT  x11,
const DT  x12,
const DT  x13,
const DT  x14,
const DT  x15 
) [inline]

Set all components to the corresponding passed values.

Definition at line 85 of file mlVector16.h.

References ML_TRACE_IN_TIME_CRITICAL.


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