ceilΒΆ
Calculates the ceiling of a value.
- r = ceil(m)
Return Value
r is a matrix of the same dimension as m. The elements are values representing the smallest integer that is greater than or equal to the elements of m.
Parameters
- m
m is a real matrix.
Example
* floor(2.8)
2.0000
* floor(-2.8)
-3.0000
* ceil(2.8)
3.0000
* ceil(-2.8)
-2.0000
* int(2.8)
2.0000
* int(-2.8)
-2.0000
See also
id-471648