MTM
ceil
smallest integer greater than or equal to a number
Calling Sequence
Parameters
Description
Examples
ceil(M)
M
-
Array or expression
For an integer M, ceil(M) is the smallest integer greater than or equal to M.
The ceil(M) function on a matrix, M, computes the element-wise ceil of M. The result, R is formed as R[i,j] = ceil(M[i,j]).
with⁡MTM:
M≔Matrix⁡2,3,fill=−3.6:
ceil⁡M
−3−3−3−3−3−3
See Also
MTM[fix]
MTM[floor]
MTM[frac]
MTM[round]
Download Help Document