MTM - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Connectivity : MTM Package : MTM/ceil

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}{rrr}{-}{3}& {-}{3}& {-}{3}\\ {-}{3}& {-}{3}& {-}{3}\end{array}\right]$ (1)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam