Hi,
I am trying to make a function using the TMath library and the following
fails:
TF1 *fnc = new TF1("myFNC","TMath::Cos(x)+TMath::Exp(x)");
On the other hand:
TF1 *fnc = new TF1("myFNC","cos(x)+exp(x)");
works ok. Is there any reason why TF1 is not aware of the TMath functions?
Stelios.
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET