Group: | Mathematical Functions |
Topic: | Common Functions |
See also: | floor rint |
Function: | ceil | |
Description: | Returns the smallest integer value greater or equal to each element of an array. |
Usage: | z = ceil (x) | |
Input: | ||
x | array | |
Output: | ||
z | array |
x = #(0.79, 2.1) ~ #(-3.99, -6.01) ~ #(4,4.01) ceil(x)
Content of ceil [1,] 1 -3 4 [2,] 3 -6 5