60 inline Tvec10(
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,
62 const DT a,
const DT b)
64 assign(x,y,z,c,t,u,v,w,a,b);
73 inline void assign(
const DT x,
const DT y,
const DT z,
const DT c,
74 const DT t,
const DT u,
const DT v,
const DT w,
75 const DT a,
const DT b)
77 Superclass::_buffer[0] = x;
78 Superclass::_buffer[1] = y;
79 Superclass::_buffer[2] = z;
80 Superclass::_buffer[3] = c;
81 Superclass::_buffer[4] = t;
82 Superclass::_buffer[5] = u;
83 Superclass::_buffer[6] = v;
84 Superclass::_buffer[7] = w;
85 Superclass::_buffer[8] = a;
86 Superclass::_buffer[9] = b;
Template class for vector arithmetic with floating point data types.
An ten dimensional vector class for floating point types.
FloatingPointVector< DT, 10 > Superclass
A typedef as a shorthand for the base class.
Tvec10(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, const DT b)
Builds the vector from the scalars x, y, z, c, t, u, v and w to the components 0 to 9,...
Tvec10(const DT value=0)
Default and value constructor.
DT ComponentType
A typedef to "export" the type of components.
Tvec10(const Superclass &v)
Copy constructor from FloatingPointVector.
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, const DT b)
Sets all components to the passed values.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.