45 inline explicit Tvec8(
const DT value = 0)
58 inline 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)
60 assign(x, y, z, c, t, u, v, w);
69 inline 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)
71 Superclass::_buffer[0] = x;
72 Superclass::_buffer[1] = y;
73 Superclass::_buffer[2] = z;
74 Superclass::_buffer[3] = c;
75 Superclass::_buffer[4] = t;
76 Superclass::_buffer[5] = u;
77 Superclass::_buffer[6] = v;
78 Superclass::_buffer[7] = w;
Template class for vector arithmetic with floating point datatypes.
An eight dimensional vector class for floating point types.
Tvec8(const Superclass &v)
Copy constructor from FloatingPointVector.
DT ComponentType
A typedef to 'export' the type of components.
Tvec8(const DT value=0)
Default and value constructor.
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)
Sets all components to the passed values.
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)
Builds the vector from the scalars x, y, z, c, t, u, v, and w to the components 0 to 7,...
FloatingPointVector< DT, 8 > Superclass
A typedef as a shorthand for the base class.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.