ML Reference
|
An nine dimensional vector class for floating point types. More...
#include <mlVector9.h>
Public Types | |
typedef FloatingPointVector < DT, 9 > | 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 | |
Tvec9 (const DT value=0) | |
Default and value constructor. | |
Tvec9 (const Tvec9< DT > &v) | |
Copy constructor from Tvec9. | |
Tvec9 (const Superclass &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. |
An nine dimensional vector class for floating point types.
A nine dimensional vector class.
Definition at line 33 of file mlVector9.h.
typedef DT ml::Tvec9< DT >::ComponentType |
A typedef to "export" the type of components.
Reimplemented from ml::FloatingPointVector< DT, 9 >.
Definition at line 40 of file mlVector9.h.
typedef FloatingPointVector<DT,9> ml::Tvec9< DT >::Superclass |
A typedef as a shorthand for the base class.
Definition at line 37 of file mlVector9.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 mlVector9.h.
References ML_TRACE_IN_TIME_CRITICAL.
Copy constructor from Tvec9.
Definition at line 54 of file mlVector9.h.
References ML_TRACE_IN_TIME_CRITICAL.
ml::Tvec9< DT >::Tvec9 | ( | const Superclass & | 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 62 of file mlVector9.h.
References ML_TRACE_IN_TIME_CRITICAL.
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 69 of file mlVector9.h.
References ML_TRACE_IN_TIME_CRITICAL.
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 84 of file mlVector9.h.
References ML_TRACE_IN_TIME_CRITICAL.