MTM - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : MTM Package : MTM/collect

MTM

  

collect

  

collect coefficients

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

collect(A, v)

Parameters

A

-

polynomial, Array of polynomials

v

-

(optional) expression

Description

• 

For polynomial A, the function collect(A,v) will return a polynomial equal to A, but with coefficients of like powers of v collected.  

• 

If the parameter v is omitted, then v is taken to be the default symbol given by findsym(A,1).

• 

If A is an array, then collect(A,v) will return an array M with the same dimensions of A. For each element a of A, the corresponding element in M will have the value collect(a,v).

Examples

withMTM:

falnxlnxxx

f:=alnxlnxxx

(1)

collectf,lnx

axlnxx

(2)

withMTM:

g∫x2ⅇx+ⅇxⅆx

g:=x2ⅇx2xⅇx+2ⅇxx2ⅇx2xⅇx2ⅇx

(3)

h∫x3ⅇx+ⅇxⅆx

h:=x3ⅇx3x2ⅇx+6xⅇx6ⅇxx3ⅇx3x2ⅇx6xⅇx6ⅇx

(4)

AVectorg,h

A:=x2ⅇx2xⅇx+2ⅇxx2ⅇx2xⅇx2ⅇxx3ⅇx3x2ⅇx+6xⅇx6ⅇxx3ⅇx3x2ⅇx6xⅇx6ⅇx

(5)

collectA,ⅇx

x22x+2ⅇx+x22x2ⅇxx33x2+6x6ⅇx+x33x26x6ⅇx

(6)

See Also

collect

MTM[exp]

MTM[expand]

MTM[factor]

MTM[findsym]

MTM[int]

MTM[log]

MTM[simple]

MTM[simplify]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam