59 inline Tvec16(
const DT x00,
const DT x01,
const DT x02,
const DT x03,
60 const DT x04,
const DT x05,
const DT x06,
const DT x07,
61 const DT x08,
const DT x09,
const DT x10,
const DT x11,
62 const DT x12,
const DT x13,
const DT x14,
const DT x15)
64 assign(x00, x01, x02, x03, x04, x05, x06, x07,
65 x08, x09, x10, x11, x12, x13, x14, x15);
74 inline void assign(
const DT x00,
const DT x01,
const DT x02,
const DT x03,
75 const DT x04,
const DT x05,
const DT x06,
const DT x07,
76 const DT x08,
const DT x09,
const DT x10,
const DT x11,
77 const DT x12,
const DT x13,
const DT x14,
const DT x15)
79 Superclass::_buffer[ 0]=x00;
80 Superclass::_buffer[ 1]=x01;
81 Superclass::_buffer[ 2]=x02;
82 Superclass::_buffer[ 3]=x03;
83 Superclass::_buffer[ 4]=x04;
84 Superclass::_buffer[ 5]=x05;
85 Superclass::_buffer[ 6]=x06;
86 Superclass::_buffer[ 7]=x07;
87 Superclass::_buffer[ 8]=x08;
88 Superclass::_buffer[ 9]=x09;
89 Superclass::_buffer[10]=x10;
90 Superclass::_buffer[11]=x11;
91 Superclass::_buffer[12]=x12;
92 Superclass::_buffer[13]=x13;
93 Superclass::_buffer[14]=x14;
94 Superclass::_buffer[15]=x15;
Template class for vector arithmetic with floating point data types.
A 16 dimensional vector class for floating point types.
void assign(const DT x00, const DT x01, const DT x02, const DT x03, const DT x04, const DT x05, const DT x06, const DT x07, const DT x08, const DT x09, const DT x10, const DT x11, const DT x12, const DT x13, const DT x14, const DT x15)
Sets all components to the corresponding passed values.
Tvec16(const Superclass &v)
Copy constructor from FloatingPointVector.
Tvec16(const DT value=0)
Default and value constructor.
FloatingPointVector< DT, 16 > Superclass
A typedef as a shorthand for the base class.
DT ComponentType
A typedef to "export" the type of components.
Tvec16(const DT x00, const DT x01, const DT x02, const DT x03, const DT x04, const DT x05, const DT x06, const DT x07, const DT x08, const DT x09, const DT x10, const DT x11, const DT x12, const DT x13, const DT x14, const DT x15)
Builds the vector from the scalars x00, ... x15 to the components 0 to 15, respectively.