ML Reference
|
An eight dimensional vector class for floating point types. More...
#include <mlVector8.h>
Public Types | |
typedef FloatingPointVector < DT, 8 > | 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 | |
Tvec8 (const DT value=0) | |
Default and value constructor. | |
Tvec8 (const Tvec8< DT > &v) | |
Copy constructor from Tvec8. | |
Tvec8 (const Superclass &v) | |
Copy constructor from FloatingPointVector. | |
Tvec8 (const DT x, const DT y, const DT z, const DT c, const DT t, const DT u, const DT v, const DT w) | |
Build the vector from the scalars x, y, z, c, t, u, v and w to the components 0 to 7, 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) |
Set all components to the passed values. |
An eight dimensional vector class for floating point types.
A eight dimensional vector class.
Definition at line 33 of file mlVector8.h.
typedef DT ml::Tvec8< DT >::ComponentType |
A typedef to "export" the type of components.
Reimplemented from ml::FloatingPointVector< DT, 8 >.
Definition at line 40 of file mlVector8.h.
typedef FloatingPointVector<DT,8> ml::Tvec8< DT >::Superclass |
A typedef as a shorthand for the base class.
Definition at line 37 of file mlVector8.h.
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 48 of file mlVector8.h.
References ML_TRACE_IN_TIME_CRITICAL.
Copy constructor from Tvec8.
Definition at line 54 of file mlVector8.h.
References ML_TRACE_IN_TIME_CRITICAL.
ml::Tvec8< DT >::Tvec8 | ( | const Superclass & | v | ) | [inline] |
Copy constructor from FloatingPointVector.
This allows the usage of SclarVectorTemplate objects of the same DT in operators using the Tvec8, because the FloatingPointVector objects can implicitly be cast.
Definition at line 62 of file mlVector8.h.
References ML_TRACE_IN_TIME_CRITICAL.
ml::Tvec8< DT >::Tvec8 | ( | const DT | x, |
const DT | y, | ||
const DT | z, | ||
const DT | c, | ||
const DT | t, | ||
const DT | u, | ||
const DT | v, | ||
const DT | w | ||
) | [inline] |
Build the vector from the scalars x, y, z, c, t, u, v and w to the components 0 to 7, respectively.
Definition at line 69 of file mlVector8.h.
References ML_TRACE_IN_TIME_CRITICAL.
void ml::Tvec8< 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 | ||
) | [inline] |
Set all components to the passed values.
Definition at line 83 of file mlVector8.h.
References ML_TRACE_IN_TIME_CRITICAL.