Hi! binomial1 = new TF1("binomial1", "[1]*(Factorial(10))/(Factorial(x))/(Factorial(10-x))*power([0],x)* power(1-[0],10-x)" I get the following error message, when typing the function above in CINT *ERROR 30 : Bad numerical expression : "Factorial(10)" Error in <TF1::TF1>: function: binomial1/[1]*(Factorial(10))/(Factorial(x))/(Factorial(10-x))* power([0],x)*power(1-[0],10-x) has 0 parameters instead of 1 And can I put some constraints on x by defining it as 'Int_t x;' before I define the function? Does TF1 recognize the x in its formula as the x defined before as Int_t? Thank you, Bernd.
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET