ceil - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MTM

  

ceil

  

smallest integer greater than or equal to a number

 

Calling Sequence

Parameters

Description

Examples

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

withMTM:

MMatrix2,3,fill=3.6:

ceilM

−3−3−3−3−3−3

(1)

See Also

ceil

MTM[fix]

MTM[floor]

MTM[frac]

MTM[round]