IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v10y2022i11p1788-d822463.html
   My bibliography  Save this article

Accurate Goertzel Algorithm: Error Analysis, Validations and Applications

Author

Listed:
  • Chuanying Li

    (College of Computer Science and Electronic Engineering, Hunan University, Changsha 410082, China)

  • Peibing Du

    (Northwest Institute of Nuclear Technology, Xi’an 710024, China)

  • Kuan Li

    (School of Cyberspace Security, Dongguan University of Technology, Dongguan 523106, China)

  • Yu Liu

    (Northwest Institute of Nuclear Technology, Xi’an 710024, China)

  • Hao Jiang

    (College of Computer, National University of Defense Technology, Changsha 410073, China)

  • Zhe Quan

    (College of Computer Science and Electronic Engineering, Hunan University, Changsha 410082, China)

Abstract

The Horner and Goertzel algorithms are frequently used in polynomial evaluation. Each of them can be less expensive than the other in special cases. In this paper, we present a new compensated algorithm to improve the accuracy of the Goertzel algorithm by using error-free transformations. We derive the forward round-off error bound for our algorithm, which implies that our algorithm yields a full precision accuracy for polynomials that are not too ill-conditioned. A dynamic error estimate in our algorithm is also presented by running round-off error analysis. Moreover, we show the cases in which our algorithms are less expensive than the compensated Horner algorithm for evaluating polynomials. Numerical experiments indicate that our algorithms run faster than the compensated Horner algorithm in those cases while producing the same accurate results, and our algorithm is absolutely stable when the condition number is smaller than 10 16 . An application is given to illustrate that our algorithm is more accurate than MATLAB ’s fft function. The results show that the relative error of our algorithm is from 10 15 to 10 17 , and that of the fft was from 10 12 to 10 15 .

Suggested Citation

  • Chuanying Li & Peibing Du & Kuan Li & Yu Liu & Hao Jiang & Zhe Quan, 2022. "Accurate Goertzel Algorithm: Error Analysis, Validations and Applications," Mathematics, MDPI, vol. 10(11), pages 1-19, May.
  • Handle: RePEc:gam:jmathe:v:10:y:2022:i:11:p:1788-:d:822463
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/10/11/1788/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/10/11/1788/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Graillat, Stef, 2018. "An accurate algorithm for evaluating rational functions," Applied Mathematics and Computation, Elsevier, vol. 337(C), pages 494-503.
    2. Jiang, Hao & Graillat, Stef & Barrio, Roberto & Yang, Canqun, 2016. "Accurate, validated and fast evaluation of elementary symmetric functions and its application," Applied Mathematics and Computation, Elsevier, vol. 273(C), pages 1160-1178.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:10:y:2022:i:11:p:1788-:d:822463. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.