Fast Evaluation of Real and Complex Polynomials

10/20/2022
by   Ramona Anton, et al.
0

We propose an algorithm for quickly evaluating polynomials. It pre-conditions a complex polynomial P of degree d in time O(dlog d), with a low multiplicative constant independent of the precision. Subsequent evaluations of P computed with a fixed precision of p bits are performed in average arithmetic complexity O(√(d(p+log d))) and memory O(dp). The average complexity is computed with respect to points z ∈ℂ, weighted by the spherical area of ℂ. The worst case does not exceed the complexity of Hörner's scheme. In particular, our algorithm performs asymptotically as O(√(dlog d)) per evaluation. For many classes of polynomials, in particular those with random coefficients in a bounded region of ℂ, or for sparse polynomials, our algorithm performs much better than this upper bound, without any modification or parameterization.The article contains a detailed analysis of the complexity and a full error analysis, which guarantees that the algorithm performs as well as H'́orner's scheme, only faster. Our algorithm is implemented in a companion library, written in standard C and released as an open-source project [MV22].Our claims regarding complexity and accuracy are confirmed in practice by a set of comprehensive benchmarks.

READ FULL TEXT
research
12/31/2018

Subresultants of (x-α)^m and (x-β)^n, Jacobi polynomials and complexity

In an earlier article together with Carlos D'Andrea [BDKSV2017], we desc...
research
06/28/2021

Computing Characteristic Polynomials of p-Curvatures in Average Polynomial Time

We design a fast algorithm that computes, for a given linear differentia...
research
11/02/2017

On the Complexity of Random Quantum Computations and the Jones Polynomial

There is a natural relationship between Jones polynomials and quantum co...
research
03/25/2016

A Subdivision Solver for Systems of Large Dense Polynomials

We describe here the package subdivision _solver for the mathematical s...
research
07/22/2023

Numerical computation of the roots of Mandelbrot polynomials: an experimental analysis

This paper deals with the problem of numerically computing the roots of ...
research
06/29/2020

Error Correcting Codes, finding polynomials of bounded degree agreeing on a dense fraction of a set of points

Here we present some revised arguments to a randomized algorithm propose...
research
05/21/2021

Computing the dimension of real algebraic sets

Let V be the set of real common solutions to F = (f_1, …, f_s) in ℝ[x_1,...

Please sign up or login with your details

Forgot password? Click here to reset