Group: Mathematical Functions
Subgroup: Common Functions
See also: floor rint

Function: ceil
Description: ceil gives the next highest integer value of the elements of an array.

Usage: z = ceil (x)
Input:
x d1 x d2 x .. x dn array
Output:
z d1 x d2 x .. x dn array

Example:
x = #(0.79, 2.1) ~ #(-3.99, -6.01) 
ceil (x) 

Result:
[1,]     1    -3 
[2,]     3    -6 





Group: Mathematical Functions
Subgroup: Common Functions
See also: floor rint

© XploRe, generated on 6.3.98 7:17 .