MTM[collect] - collect coefficients
|
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
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
|
|
Download Help Document
Was this information helpful?