ceil - Maple Help

MTM

 ceil
 smallest integer greater than or equal to a number

 Calling Sequence ceil(M)

Parameters

 M - Array or expression

Description

 • 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]).

Examples

 > $\mathrm{with}\left(\mathrm{MTM}\right):$
 > $M≔\mathrm{Matrix}\left(2,3,'\mathrm{fill}'=-3.6\right):$
 > $\mathrm{ceil}\left(M\right)$
 $\left[\begin{array}{ccc}{-3}& {-3}& {-3}\\ {-3}& {-3}& {-3}\end{array}\right]$ (1)