Prototypes | Header 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> |
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].