MTM
frac
fractional part
Calling Sequence
Parameters
Description
Examples
frac(M)
frac(x)
M
-
array
x
expression
frac(x) is the fractional part of x, that is, frac(x) = x - fix(x).
The frac(M) function computes the element-wise fractional part of M. The result, R, is formed as R[i,j] = frac(M[i,j]).
with⁡MTM:
M≔Matrix⁡2,3,fill=−3.6:
frac⁡M
−0.6−0.6−0.6−0.6−0.6−0.6
See Also
MTM[ceil]
MTM[fix]
MTM[floor]
MTM[round]
Download Help Document