Group: | Mathematical Functions |
Topic: | Common Functions |
See also: | ceil rint |
Function: | floor | |
Description: | gives the next smaller integer value of the elements of an array. |
Usage: | z = floor (x) | |
Input: | ||
x | array | |
Output: | ||
z | array |
x = #(0.79, 2.1) ~ #(-3.99, -6.01) floor(x)
Contents of floor [1,] 0 -4 [2,] 2 -7