The final goal of our attempt is to provide a representation of real numbers that will be used in symbolic computations, especially related to polynomials.
Up to now, we have implemented a polynomial arithmetic that can handle both univariate and multivariate polynomials with erna real or complex coefficients.
We have also implemented procedures for root isolation and extraction of a root as an erna real or complex, for square-free univariate polynomials. A preliminary implementation of Corless et al. algorithm [(Corless et al., 95)] for GCD computation is also available.
Here is a list of the operations implemented:
Function | Input | Output |
rPolAdd | ||
rPolProd | ||
rPolDiv | [quo,rem] | |
deg(rem,)deg() |
Similarly, for polynomials with erna complex coefficients: cPolAdd, cPolProd, cPolTail.
Function | Input | Output |
rPolEval | ||
are erna reals , | an erna real | |
has erna real coefficients | or a polynomial | |
cPolEval |
Function | Input | Output |
sqFreePolRootsIsol | ||
approximates a root | ||
of with accuracy | ||
sqFreePolRoot | an erna object | |
- initial -approximation | ||
of a root of |
In addition, there are functions that convert a polynomial with erna coefficients to a polynomial with rational coefficients, either by dump-ing (rPolDump), epsint-ing (rPolEpsint) or refine-ing (rPolRefine) the coefficients.