WeBWorK Main Forum

Manipulation of polynomials

Manipulation of polynomials

by William Boshuck -
Number of replies: 0

I'm writing some problems in which I'd
like some manipulation and simplification
of polynomials to be done automatically
(produce a polynomial in standard form
with some given roots and multiplicities,
or the sum, difference or product of such,

Two sources of existing code for this are
macros/PGpolynomialmacros.pl (which
contains some obvious and easy to fix
bugs) and lib/Polynomial.pm (which I
seem to have to load forcibly).

Is there an existing recommended way
to accomplish what I want to do?

Thanks for any input.

William Boshuck