Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.9 ceil()

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

10.9.1 Description

Takes x as an argument and returns y such that yi corresponds to the next integer greater than or equal to xi. For example, if x = [ -1.3, 4.3, 7.9] then y = [ -1, 5, 8].


Previous fileTop of DocumentContentsIndexNext file

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