This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Construction /


FilledSmallSquare CoefficientList[poly, var] gives a list of coefficients of powers of var in poly, starting with power 0.

FilledSmallSquare CoefficientList[poly, , , ... ] gives an array of coefficients of the .

FilledSmallSquare Example: CoefficientList[x^2 + 2 x y - y, x, y] LongRightArrow.

FilledSmallSquare The dimensions of the array returned by CoefficientList are determined by the values of the Exponent[poly, ].

FilledSmallSquare Terms that do not contain positive integer powers of a particular variable are included in the first element of the list for that variable.

FilledSmallSquare CoefficientList always returns a full rectangular array. Combinations of powers that do not appear in poly give zeros in the array.

FilledSmallSquare CoefficientList[0, var] gives {}.

FilledSmallSquare CoefficientList works whether or not poly is explicitly given in expanded form.

FilledSmallSquare See Section 3.3.2.

FilledSmallSquare See also: Series, CoefficientArrays, SeriesCoefficient, Coefficient, Collect, FactorList.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples