Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.63 toVec()

PrototypesHeader File(s)
template <class T>
RWMathVec<T>
toVec(const RWMathArray<T>&)
<rw/math/mtharray.h>
<rw/math/mathvec.h>

10.63.1 Description

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.


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.