giordano / Cuba.jl

Library for multidimensional numerical integration with four independent algorithms: Vegas, Suave, Divonne, and Cuhre.
https://giordano.github.io/Cuba.jl/stable
MIT License
75 stars 9 forks source link

Histogramming with vegas #29

Open Anticommutator opened 4 years ago

Anticommutator commented 4 years ago

i would like to build a histogram of some distribution while integrating it with vegas. Is there a way to access the "vegas-weight" of a point at each step in the integration. (with "vegas-weight" I mean the weight of the point determined by the importance function of vegas). If I am not mistaking the Fortran version of the code actually passes this weight to the integrand function.