Thanks for reporting this problem with this special case.
When used as a string in the TF1 constructors, all TMath functions
of the style TMath::XXXX(x,params) work, but not the style
TMath::XXXX(params,x). The only case is the Gamma function with one
parameter.
We will fix this problem.
Rene Brun
On Thu, 2 Mar
2006, Benjamin-Alejandro Morales-Ruiz wrote:
> Hi,
>
> I have a small problem. I need to use an incomplete gamma function but
> it just don't work.
>
> The basic input
>
> root [1] TF1 *g1 = new TF1("g1","TMath::Gamma(1,x)",0,10);
> root [2] g1->Draw()
>
> just draw a straight line. What is wrong?
>
> Thanks in advance,
>
> Benjamin.
>
Received on Fri Mar 03 2006 - 09:12:33 MET
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET