On 27/10/2023 01:36, Alecos Papadopoulos wrote:
In the help text for function "quadtable" we read
<<When the Gauss–Legendre type is selected, the optional arguments a and
b can be used to control the lower and upper limits of integration, the
default values being –1 and 1. >>
In Gretl guide ch. 37.4 page 384, in a table summarizing numerical
integration we read
<<Gauss–Legendre by default, a = 0 and b = 1>>
Which one is the actual default value, a=-1, or a=0?
The guide is wrong, I'll correct it in a few minutes: the default is -1.
The pertinent code is at
https://sourceforge.net/p/gretl/git/ci/master/tree/lib/src/matrix_extra.c
line 2866.
Thanks!!!
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------
--
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------