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

Online Help

All Products    Maple    MapleSim


MTM

  

expand

  

expand

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

expand(M)

Parameters

M

-

array

Description

• 

The primary application of expand is to distribute products over sums. This is done for all polynomials. For quotients of polynomials, only sums in the numerator are expanded; products and powers are left alone.

• 

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

Examples

withMTM:

MMatrix2,3,fill=ax+y:

expandM

ax+ayax+ayax+ayax+ayax+ayax+ay

(1)

See Also

expand

MTM[collect]

MTM[factor]

MTM[simple]

MTM[simplify]