Re: [ROOT] at least 2 params for TF1 ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Apr 11 2003 - 18:21:28 MEST


Jacek,

OK, so your question was with SetParameters, not with the constructors.

We have two functions SetParameters.
We force two arguments with the function that you indicate to avoid
possible ambiguities with the other prototype SetParameters(double*)
(at least with several compilers).

Rene Brun

"Jacek M. Holeczek" wrote:
> 
> Basically, the question could be reformulated into the following.
> Why there is :
>         virtual void SetParameters(Double_t p0,Double_t p1,Double_t p2=0,Double_t p3=0,Double_t p4=0 ,Double_t p5=0,Double_t p6=0,Double_t p7=0,Double_t p8=0,Double_t p9=0,Double_t p10=0); // *MENU*
> in the TFormula class (note that at least 2 parameters are required).
> Best regards,
> Jacek.



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