KZoli
02-23-2005, 07:41 AM
Hi!
I have some problem with using an adaptive 3D integration method. In the book "Numerical Recipes in C++" there is an example how to make a 3D integral from 1D integrals (page 169) but the 1D integral is not adaptive (just a simple 10 point gaus). When I am trying to use the example with an adaptive 1D quadrature (e.g. romberg, simpson, trapezoid) it just doesn't work! Can anybody tell me what is the problem?
Zoli
I have some problem with using an adaptive 3D integration method. In the book "Numerical Recipes in C++" there is an example how to make a 3D integral from 1D integrals (page 169) but the 1D integral is not adaptive (just a simple 10 point gaus). When I am trying to use the example with an adaptive 1D quadrature (e.g. romberg, simpson, trapezoid) it just doesn't work! Can anybody tell me what is the problem?
Zoli