-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Description
It looks like this will sometimes give a much tighter box than the other algorithms: when evaluating a polynomial at x = x0 +/- delta, first do a Taylor shift by x0 +/- 0, then evaluate at 0 +/- delta. For example, for 49*x^4 - 188*x^2 + 72*x + 292 (radius 0 for all coefficients) at x = -1.5 +/- 0.1, I see:
9.0625 +/- 70.1889for_arb_poly_evaluate_horner;9.0625 +/- 138.544for_arb_poly_evaluate_rectangular;9.0625 +/- 70.1889for_arb_poly_taylor_shift_hornerthen taking the constant coefficient;9.0625 +/- 138.544for_arb_poly_taylor_shift_divconquerthen taking the constant coefficient;9.0625 +/- 138.544for_arb_poly_taylor_shift_convolutionthen taking the constant coefficient;9.0625 +/- 7.5839for this new approach.
If instead we take x = -1.5 +- 1e-6, we see:
9.0625 +/- 6.36001e-4for the*_horneroptions above;9.0625 +/- 1.2975e-3for the other three options above;9.0625 +/- 2.55005e-5for the new approach.
Metadata
Metadata
Assignees
Labels
No labels