Prototypes | Header File(s) | |
template <class T> | ||
RWGenMat<T> |
toGenMat(const RWMathArray<T>&) |
<rw/math/mtharray.h> <rw/math/genmat.h> |
Converts a 2-dimensional array into a corresponding general matrix class. The array must actually have 2 dimensions or a runtime error occurs. The newly constructed matrix is a new view of the same data as the array; a copy of the data is not made.