MPD78
11-24-2009, 02:13 PM
Hello all,
In the incgammabeta.h routine the first line and following comment are,
struct Beta : Gauleg18 {
// Gauleg18 provides coefficients for Gauss-Legendre quadrature.
The fitab.h routine (Chapter 15) requires the incgammabeta.h to be included.
However, I recieve an error from the compiler that states
"Gauleg18 : base class undefined"
No problem, the base class Gauleg18 simply needs to be defined. Right?
However, I have searched the NR3 book all over and I can't find any other reference to Gauleg18. Chapter 4 contains the Guassian quadrature routines gausleg and gauslag and some others but no Gauleg18.
What am I doing wrong. Is Gauleg18 supposed to be supplied by me?
Any help would be appreciated.
PS: I am terrible at finding stuff so If I overlooked it, I wouldn't be suprised.
Thanks
Matt
In the incgammabeta.h routine the first line and following comment are,
struct Beta : Gauleg18 {
// Gauleg18 provides coefficients for Gauss-Legendre quadrature.
The fitab.h routine (Chapter 15) requires the incgammabeta.h to be included.
However, I recieve an error from the compiler that states
"Gauleg18 : base class undefined"
No problem, the base class Gauleg18 simply needs to be defined. Right?
However, I have searched the NR3 book all over and I can't find any other reference to Gauleg18. Chapter 4 contains the Guassian quadrature routines gausleg and gauslag and some others but no Gauleg18.
What am I doing wrong. Is Gauleg18 supposed to be supplied by me?
Any help would be appreciated.
PS: I am terrible at finding stuff so If I overlooked it, I wouldn't be suprised.
Thanks
Matt