60 inline Tvec8(
const DT x,
const DT y,
const DT z,
const DT c,
61 const DT t,
const DT u,
const DT v,
const DT w)
63 assign(x,y,z,c,t,u,v,w);
72 inline void assign(
const DT x,
const DT y,
const DT z,
const DT c,
73 const DT t,
const DT u,
const DT v,
const DT w)
75 Superclass::_buffer[0] = x;
76 Superclass::_buffer[1] = y;
77 Superclass::_buffer[2] = z;
78 Superclass::_buffer[3] = c;
79 Superclass::_buffer[4] = t;
80 Superclass::_buffer[5] = u;
81 Superclass::_buffer[6] = v;
82 Superclass::_buffer[7] = w;
Template class for vector arithmetic with floating point data types.
An eight dimensional vector class for floating point types.
FloatingPointVector< DT, 8 > Superclass
A typedef as a shorthand for the base class.
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,...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.