[ROOT] TF1 is not aware of the TMath functions

From: Stilianos Kesisoglou (kesisogl@fnal.gov)
Date: Sun Jun 13 2004 - 03:27:49 MEST


   I am trying to make a function using the TMath library and the following

	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?


This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET