MTM
expand
Calling Sequence
Parameters
Description
Examples
expand(M)
M
-
array
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]).
with⁡MTM:
M≔Matrix⁡2,3,fill=a⁢x+y:
expand⁡M
a⁢x+a⁢ya⁢x+a⁢ya⁢x+a⁢ya⁢x+a⁢ya⁢x+a⁢ya⁢x+a⁢y
See Also
MTM[collect]
MTM[factor]
MTM[simple]
MTM[simplify]
Download Help Document