Hi All,
I am trying to performing one dimensional integration using root. For
that I am using Integrator class of root. I want to evaluate the
integral for the limits between (-infinity) to (+infinity). I an using the
following piece code
double x1 = 0;
double x2 = 200;
TF1 *fBW = new
TF1("fBW","TMath::Exp(-0.5*((((x-90)*(x-90))/(12.3*12.3))))",1);
fBW->Integral(x1,x2);
I am not able to understand how to represent infinity in root so that the integral gets calculated for limits between (-infinity) to (+infinity).
Thanks a lot in advance for any kind of help.
With Regards
Suneel Dutt Received on Tue Mar 10 2009 - 05:05:09 CET
This archive was generated by hypermail 2.2.0 : Tue Mar 10 2009 - 23:50:02 CET