Hello everyone,

I was wondering about the complexity of the Integral(bmin,bmax) function and I did not find this information.

Best,

Kali95

Hello everyone,

I was wondering about the complexity of the Integral(bmin,bmax) function and I did not find this information.

Best,

Kali95

HI,

Can you please tell us more about your problem ? On which Integral , of histograms or functions (TF1) ?

Lorenzo

Hi,

Integral on histograms. if N is the number of subdision what is the complexity of this integral? (O(N)?).

Kali95

Thank you very much for your answer it is near what I wanted to know.

Actually more precisely I am looking for a more theoretical explanation of the implementation of the histogram integral. For example, if N is the number of points, is the complexity in O(N), O(Nlog(N)), O(N^2) or something else ? And is the error in O(1/N), O(1/N^2) or something else ? More fundamentally if I cannot have this information, can I know the method used to compute the integral ? (Is it a Simpson method, a rectangle method, a trapezoid method, or a mix of them to optimize the computation).

It would be useful to decide if I am going to choose this method of Integration because I donâ€™t know a priori the function I am going to compute. So, the IntegralandError topic will be useful a posteriori.

Best,

Kali95

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.