Let
be a ring. The univariate polynomial ring
can be implemented using different data types.
.
But the representation is not canonical:
two different expression trees can encode the same polynomial.
Therefore operations like DEGREE, LEADING COEFFICIENT,
REDUCTUM
are in
where
(for non-balanced trees).
![]() |
(34) |
,
is represented by
and
.
Addition and equality-test are in
and multiplication
is in
.
This representation is especially good when the ring of coefficients
is a small prime field, i.e.
with
.
![]() |
(35) |
where
.
Moreover the operation REDUCTUM does not require
coefficient duplication (on the contrary of the previous
representation).
Addition and equality-test are in
and multiplication
is in
.
This representation is especially good when the ring of coefficients
is itself a ring of sparse polynomials.
Marc Moreno Maza