61 const DT t,
const DT u,
const DT v)
63 assign(x,y,z,c,t,u,v);
73 const DT t,
const DT u,
const DT v)
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;
Template class for vector arithmetic with floating point datatypes.
An seven dimensional vector class for floating point types.
Tvec7(const DT value=0)
Default and value constructor.
FloatingPointVector< DT, 7 > Superclass
A typedef as a shorthand for the base class.
DT ComponentType
A typedef to 'export' the type of components.
Tvec7(const DT x, const DT y, const DT z, const DT c, const DT t, const DT u, const DT v)
Builds the vector from the scalars x, y, z, c, t, u, and v to the components 0 to 6,...
void assign(const DT x, const DT y, const DT z, const DT c, const DT t, const DT u, const DT v)
Sets all components to the passed values.
Tvec7(const Superclass &v)
Copy constructor from FloatingPointVector.
Tvec7< MLldouble > Vector7ld
A vector with seven components of type long double.
Tvec7< MLdouble > Vector7d
A vector with seven components of type double.
Tvec7< MLdouble > Vector7
A vector with seven components of type double.
Tvec7< MLfloat > Vector7f
A vector with seven components of type float.