MTM
numden
numerator/denominator
Calling Sequence
Parameters
Description
Examples
numden(M)
numer, denom := numden(M)
M
-
array or expression
The numer := numden(M) calling sequence computes the numerator of the expression M.
The (numer,denom) := numden(M) calling sequence computes both the numerator of M, which is stored in the variable numer, and the denominator of M, which is stored in the variable denom.
The numden(M) function computes element-wise numerator and denominator of M. The results, R1 and R2, are formed as R1[i,j] = numer(M[i,j]) and R2[i,j] = denom(M[i,j]).
with⁡MTM:
M≔Matrix⁡2,3,fill=xy+yx:
numden⁡M
x2+y2x2+y2x2+y2x2+y2x2+y2x2+y2,y⁢xy⁢xy⁢xy⁢xy⁢xy⁢x
See Also
MTM[collect]
MTM[expand]
numer
Download Help Document