Next: , Previous: , Up: TinyVector   [Contents][Index]


7.2 Constructors

TinyVector();

The elements of the vector are left uninitialized.

TinyVector(const TinyVector<T,N>& x);

The elements of vector x are copied.

TinyVector(T value);

All elements are initialized to value.

TinyVector(T value1, T value2, ...);

The vector is initialized with the list of values given. These constructors are provided for up to N=11.