Prototypes | Header File(s) | |
template <class T> | ||
RWMathVec<T> |
toVec(const RWMathArray<T>&) |
<rw/math/mtharray.h> <rw/math/mathvec.h> |
Converts a 1-dimensional array into a corresponding vector class. The array must actually have 1 dimension or a runtime error occurs. The newly constructed vector is a new view of the same data as the array; a copy of the data is not made.