TF3 Integration Over Infinity

I am attempting to integrate over all space and am unfamiliar with the necessary syntax. The following is my current code. Could someone please explain how to do this properly?

TF3 * inter = new TF3("Integrator1",myFunc,-inf,+inf,-inf,+inf,-inf,+inf,5);
double holder = inter->Integral(-inf,+inf,-inf,+inf,-inf,+inf);

ROOT Version: 6.28.04
Platform: Linux through Windows (Ubuntu)
Compiler: G++

Hi Denali,

I think it’s not really possible to use ‘inf’ - we are still dealing with floating point numbers here. I would suggest to use values which are large enough for your function instead.

I hope this helps.


Okay, thank you, Danilo, for your time.

-Denali Jah