Anti-Gauss formulae have attracted a great deal of interest in recent years. There are two main reasons for this. On the one hand, they make it possible to construct new rules, namely averaged or stratified formulae, which are characterized by a higher accuracy and a lower computational cost, compared to formulae with the same number of nodes. On the other hand, they provide numerical estimates of the error of the Gaussian rule for a fixed number of points. This allows one to determine the number of nodes required to achieve a prescribed accuracy in the integral approximation. In this paper, we provide a Matlab toolbox, including an interactive graphical user interface (GUI), to assist the interested reader in performing the computation of 1D integrals using anti-Gauss formulae and one of their generalization. When coupled to Gauss rules, they lead to averaged and generalized averaged scheme, respectively. We also consider the computation of 2D integrals by Gauss/anti-Gauss rules. With the exception of the GUI, the software also runs on Octave.

AGquad: a Matlab package for 1D and 2D anti-Gauss type rules

P. Diaz de Alba;L. Fermo;G. Rodriguez
2025-01-01

Abstract

Anti-Gauss formulae have attracted a great deal of interest in recent years. There are two main reasons for this. On the one hand, they make it possible to construct new rules, namely averaged or stratified formulae, which are characterized by a higher accuracy and a lower computational cost, compared to formulae with the same number of nodes. On the other hand, they provide numerical estimates of the error of the Gaussian rule for a fixed number of points. This allows one to determine the number of nodes required to achieve a prescribed accuracy in the integral approximation. In this paper, we provide a Matlab toolbox, including an interactive graphical user interface (GUI), to assist the interested reader in performing the computation of 1D integrals using anti-Gauss formulae and one of their generalization. When coupled to Gauss rules, they lead to averaged and generalized averaged scheme, respectively. We also consider the computation of 2D integrals by Gauss/anti-Gauss rules. With the exception of the GUI, the software also runs on Octave.
2025
Orthogonal polynomials; Gauss rules; anti-Gauss formulae; averaged schemes
File in questo prodotto:
File Dimensione Formato  
agquad25.pdf

accesso aperto

Tipologia: versione editoriale (VoR)
Dimensione 284.13 kB
Formato Adobe PDF
284.13 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11584/454326
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact