60 inline Tvec9(
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,
64 assign(x,y,z,c,t,u,v,w,a);
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,
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;
Template class for vector arithmetic with floating point data types.
An nine dimensional vector class for floating point types.
FloatingPointVector< DT, 9 > Superclass
A typedef as a shorthand for the base class.
DT ComponentType
A typedef to "export" the type of components.
Tvec9(const DT value=0)
Default and value constructor.
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)
Builds the vector from the scalars x, y, z, c, t, u, v and w to the components 0 to 8,...
Tvec9(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)
Sets all components to the passed values.