Mathematica 9 is now available

CoefficientList

Usage

CoefficientList[poly, var] gives a list of coefficients of powers of var in poly, starting with power 0.
CoefficientList[poly, { ,  , ... }] gives an array of coefficients of the  .


Notes

• Example: CoefficientList[x^2 + 2 x y - y,  x, y ]LongRightArrow .
• The dimensions of the array returned by CoefficientList are determined by the values of the Exponent[poly,  ].
• Terms that do not contain positive integer powers of a particular variable are included in the first element of the list for that variable.
CoefficientList always returns a full rectangular array. Combinations of powers that do not appear in poly give zeros in the array.
CoefficientList[0, var] gives {}.
CoefficientList works whether or not poly is explicitly given in expanded form.
• See Section 3.3.2.
• New in Version 1; modified in 3.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.