fix - Maple Help

Online Help

All Products    Maple    MapleSim


MTM

  

fix

  

integer part

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

fix(M)

Parameters

M

-

array

Description

• 

For x >= 0, fix(x) is the greatest integer less than or equal to x. For x < 0, fix(x) = -fix(-x).

• 

The fix(M) function computes the element-wise integer part of M.  The result, R, is formed as R[i,j] = fix(M[i,j]).

Examples

withMTM&colon;

MMatrix2&comma;3&comma;fill=3.5&colon;

fixM

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

(1)

See Also

MTM[ceil]

MTM[floor]

trunc