Re: [ROOT] Indefinite integral

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Mar 11 2004 - 21:55:21 MET


Umh! what you request would imply adding an algebraic computation system
in ROOT returning an analytic function corresponding to the integral
of a TF1. The only thing that one can easily return is a TGraph
of points corresponding to the values of the integral at a set of 
points.

Rene Brun

On 
Thu, 11 Mar 2004, Andrei Kouznetsov wrote:

> 
> I solved my problem. But I think it would be useful to have
> some TF1* TF1::GetIntegral().
> 
> Regards, Andrei.
> 
> On Thu, 11 Mar 2004, Andrei Kouznetsov wrote:
> 
> > On Thu, 11 Mar 2004, Rene Brun wrote:
> > 
> > Thank you, I understood. 
> > I am sorry that I was too lazy to look the code.
> > 
> > Regards, Andrei.
> > 
> > 
> > > Hi Andrei,
> > > 
> > > What TF1::DrawIntegral does is:
> > > 
> > >   TGraph *g = new TF1(f1,"i");
> > >   g->Draw();
> > > 
> > > where TF1 *f1;
> > > 
> > > Rene Brun
> > > 
> > > Andrei Kouznetsov wrote:
> > > > 
> > > > Hello,
> > > > 
> > > > is it possible to get the pointer to the function which
> > > > TF1::DrawIntegral(Option_t *option) draws?
> > > > 
> > > > Thank you in advance,
> > > > Andrei.
> > > 
> > 
> > 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET