Re: [ROOT] TH1::Integral deature request

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Nov 04 2003 - 19:20:17 MET


Hi Thomas,

I am not sure to understand what you mean by sampling points.
Do you mean an alternative to the arrays x[12] and w[12] ?
Could you provide a piece of code with some example implementation showing
the speed advantage compared to the current function?
If your function performs better, we can easily add a new TF1::Integral
with a new prototype.

Rene Brun

Thomas Bretz wrote:
> 
> Hi,
> 
> would it be possible to have a Integral function which takes more
> sampling points?
> 
> I think of some solution in which you (for speed reasons) first
> calculate the sampling points you want to have (there is a formular
> which one can use) and afterwards use these sampling points in your
> Integral.
> 
> This would be more convinient, than having a fixed number of sampling
> points (which is rather small) exspecially in more complex functions
> like step-functions or similar...
> 
> Thanks in advance,
> Thomas



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET