Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.59 toFloat()

PrototypesHeader File(s)
RWMathVec<float>
toFloat(const RWMathVec<double>&)
<rw/math/mathvec.h>
RWGenMat<float>
toFloat(const RWGenMat<double>&)
<rw/math/genmat.h>
RWMathArray<float>
toFloat(const RWMathArray<double>&)
<rw/math/mtharray.h>

10.59.1 Description

Converts a vector or a matrix of doubles into a corresponding vector, matrix, or array of floats. Note that this is a narrowing operation; high order bits are removed. See also RWConvertMathVec, RWConvertGenMat, and RWConvertMathArray in the Math.h++ Class Reference.


Previous fileTop of DocumentContentsIndexNext file

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