Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Polynomial Algebra > CoefficientRules >

CoefficientRules

CoefficientRules
gives the list of exponent vectors and coefficients for the monomials in poly with respect to the .
CoefficientRules
gives the result with the monomial ordering specified by order.
  • CoefficientRules works whether or not poly is explicitly given in expanded form.
  • Possible settings for order are the same as in MonomialList.
  • The default order is .
Get exponents and coefficients of monomials:
Get exponents and coefficients of monomials:
In[1]:=
Click for copyable input
Out[1]=
Use monomial ordering:
Specify the same ordering using weight matrix:
Reduce the coefficients modulo 2:
FromCoefficientRules reconstructs the original polynomial:
MonomialList gives a different representation:
For two variables and coincide:
The list given by Variables[poly] is not always sorted:
Visualize monomial orderings in 2D:
The standard built-in orderings:
In 2D some orderings cannot be distinguished:
Visualize monomial orderings in 3D:
In 3D all orderings are distinct:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF