building $g$
easiest way: piecewise constant function
vegas
: you can almost certainly already do that- but assumes factorising integrand
foam
: split integration region by worst [Jadach 2002].
easiest way: piecewise constant function
vegas
: you can almost certainly already do thatfoam
: split integration region by worst
[Jadach 2002].