Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.24 floor()

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

10.24.1 Description

Takes x as an argument and returns y such that yi corresponds to the largest integer less than or equal to xi. For example, if x = [ 1.3, 4.4, -3.2], then y = [ 1, 4, -4].


Previous fileTop of DocumentContentsIndexNext file

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