Gsl_monte_vegas_free(s)

Hi,

I looking for a function to free the memory similar to GSL “gsl_monte_vegas_free(s)” in
ROOT::Math::IntegratorMultiDim(ROOT::Math::IntegrationMultiDim::kVEGAS).
Any help?

Thanks.

Hi,

This function is called internally when you delete the integrator class or when you change the type, by calling SetType with a different one than kVEGAS.
Is this sufficient for you ? Would you need instead a Clear() or Reset() method ?
Can you maybe say more why you need to call the free function ?

Best Regards

Lorenzo