This namespace is used by emmy.polynomial.impl
and emmy.polynomial
to implement a full polynomial data structure.
Polynomials are sums of monomial terms; a monomial is a pair of some non-zero coefficient and a product of some number of variables, each raised to some power.
We represent the exponents of a monomial with an ordered mapping of variable index => the exponent of that variable. Loading... is represented as {0 2, 2 3}
, for example. Polynomials are linear combinations of the exponents.
This section implements a number of Monomial orderings that are useful for making various polynomial algorithms efficient.
Each of the following functions matches Java's "comparator" interface:
0