I am trying to compute a 2 Dimensional numerical integration with the help
of Boost. I've been reading the documentation for a couple of days and my
CPP language knowledge is just up to legacy CPP level so I'm a noob.
I saw this page
https://www.boost.org/doc/libs/1_73_0/libs/math/doc/html/math_toolkit/gauss_...
in documentation which calculates the quadrature using* Gauss-Kronrod *rule.
I was trying to build upon it and calculate a 2-d integral using
Gauss-Kronrod rule. My understanding is *a 2D integral is basically 2 1D
integrals with the Cartesian product.* So I was thinking If I can nest two
integration function then I'm done. I've started from the aforementioned
example and extended it a bit so the code for a 2d integration looks like,
#include