numden - Maple Help

Online Help

All Products    Maple    MapleSim


MTM

  

numden

  

numerator/denominator

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

numden(M)

numer, denom := numden(M)

Parameters

M

-

array or expression

Description

• 

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]).

Examples

withMTM:

MMatrix2,3,fill=xy+yx:

numdenM

x2+y2x2+y2x2+y2x2+y2x2+y2x2+y2,yxyxyxyxyxyx

(1)

See Also

MTM[collect]

MTM[expand]

numer