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