efficient polynomial l approximations
play

Efficient polynomial L -approximations ARITH 18 - Montpellier - PowerPoint PPT Presentation

Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Efficient polynomial L -approximations ARITH 18 - Montpellier Nicolas


  1. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Efficient polynomial L ∞ -approximations ARITH 18 - Montpellier Nicolas Brisebarre Sylvain Chevillard Laboratoire de l’informatique du parallélisme Arenaire team June 26, 2007 N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 1

  2. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Contents Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 2

  3. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Functions approximation ◮ Let f be a real valued function : f : [ a , b ] → R . Graph of f : x �→ arctan ( x ) (interval [ − 1 , 4 ] ) N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 3

  4. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Functions approximation ◮ Let f be a real valued function : f : [ a , b ] → R . ◮ Let p ∈ R n [ X ] approximating f. ( R n [ X ] : set of polynomials with real coefficients and degree at most n ). Here n = 2 N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 3

  5. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Functions approximation ◮ Let f be a real valued function : f : [ a , b ] → R . ◮ Let p ∈ R n [ X ] approximating f. ◮ Approximation error at point x : ε ( x ) = p ( x ) − f ( x ) . ( R n [ X ] : set of polynomials with real coefficients and degree at most n ). Here n = 2 N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 3

  6. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Approximation error ◮ ε ( x ) = p ( x ) − f ( x ) over [ a , b ] N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 4

  7. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Approximation error ◮ ε ( x ) = p ( x ) − f ( x ) over [ a , b ] ◮ max {| ε ( x ) | , x ∈ [ a , b ] } N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 4

  8. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Approximation error ◮ ε ( x ) = p ( x ) − f ( x ) over [ a , b ] ◮ max {| ε ( x ) | , x ∈ [ a , b ] } ◮ Infinite norm: � ε � ∞ = � p − f � ∞ = max {| ε ( x ) | , x ∈ [ a , b ] } N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 4

  9. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Approximation error ◮ ε ( x ) = p ( x ) − f ( x ) over [ a , b ] ◮ max {| ε ( x ) | , x ∈ [ a , b ] } ◮ Infinite norm: � ε � ∞ = � p − f � ∞ = max {| ε ( x ) | , x ∈ [ a , b ] } ◮ Best approximation problem: given a degree n , find p ∈ R n [ X ] minimizing � p − f � ∞ . N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 4

  10. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Theory of polynomial approximation Facts: ◮ There exists a unique best approximation polynomial. N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 5

  11. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Theory of polynomial approximation Facts: ◮ There exists a unique best approximation polynomial. ◮ Characterization: Chebyshev’s theorem. N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 5

  12. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Theory of polynomial approximation Facts: ◮ There exists a unique best approximation polynomial. ◮ Characterization: Chebyshev’s theorem. ◮ To compute it: Remez’ algorithm ( minimax in Maple). N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 5

  13. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion The problem ◮ Computers: finite memory. N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 6

  14. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion The problem ◮ Computers: finite memory. ◮ IEEE-754 standard: defines floating-point numbers. N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 6

  15. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion The problem ◮ Computers: finite memory. ◮ IEEE-754 standard: defines floating-point numbers. ◮ A floating-point number with radix 2 and precision t , is a number of the form x = m · 2 e where ◮ m ∈ Z (written with exactly t bits) is called its mantissa; ◮ e ∈ Z is its exponent. N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 6

  16. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion The problem ◮ Computers: finite memory. ◮ IEEE-754 standard: defines floating-point numbers. ◮ A floating-point number with radix 2 and precision t , is a number of the form x = m · 2 e where ◮ m ∈ Z (written with exactly t bits) is called its mantissa; ◮ e ∈ Z is its exponent. ◮ In practice: one has to store the coefficients into floating-point numbers. N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 6

  17. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion The problem ◮ Computers: finite memory. ◮ IEEE-754 standard: defines floating-point numbers. ◮ A floating-point number with radix 2 and precision t , is a number of the form x = m · 2 e where ◮ m ∈ Z (written with exactly t bits) is called its mantissa; ◮ e ∈ Z is its exponent. ◮ In practice: one has to store the coefficients into floating-point numbers. ◮ Naive method: compute the minimax with Remez’ algorithm and a high precision. Then round each coefficient to the nearest floating-point number. N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 6

  18. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Failure of the naive method ◮ Example with f ( x ) = log 2 ( 1 + 2 − x ) : ◮ on [ 0 ; 1 ] ◮ approximated by a degree 6 polynomial ◮ with single precision coefficients (24 bits). Minimax Naive method Optimal 8 . 3 · 10 − 10 119 · 10 − 10 10 . 06 · 10 − 10 N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 7

  19. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Failure of the naive method ◮ Example with f ( x ) = log 2 ( 1 + 2 − x ) : ◮ on [ 0 ; 1 ] ◮ approximated by a degree 6 polynomial ◮ with single precision coefficients (24 bits). Minimax Naive method Optimal 8 . 3 · 10 − 10 119 · 10 − 10 10 . 06 · 10 − 10 ◮ The problem has been studied by ◮ W. Kahan; ◮ D. Kodek (precision t < 10, degree n < 20); ◮ N. Brisebarre, J.-M. Muller and A. Tisserand (using linear programming). N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 7

  20. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Description of our method Our goal: find p approximating f with the following form: m 0 · 2 e 0 + m 1 · 2 e 1 X + · · · + m n · 2 e n X n ( m i ∈ Z ) . N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 8

  21. Scope of my researches Approximation theory Polynomial approximation with floating-point numbers Lattices and LLL algorithm A concrete and toy case Conclusion Description of our method Our goal: find p approximating f with the following form: m 0 · 2 e 0 + m 1 · 2 e 1 X + · · · + m n · 2 e n X n ( m i ∈ Z ) . ◮ We use the idea of interpolation: N. Brisebarre, S. Chevillard Efficient polynomial L ∞ -approximations 8

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend