The hquadrature (hcubature) does not offer the possibility to transfer arguments to the integrand (like using args=() in scipy.integrate).
I have an integrand func(x, E) depending on the independent variable x and on the additional argument E. How can I transfer E to the integrand ?
Assuming E is constant:
let E = ...
hquadrature(x -> func(x,E), etc..)
end
Edited this to avoid using global scope.
1 Like
Thanks