Hi,
The CVS repository has been updated with a few improvements to TFormula (and
thus to TF1 and TTreeFormula).
TFormula::Compile has been updated to be calleable a 2nd time (i.e. properly
clear the data members).
TFormula has been upgraded to be able to understand and call any global
functions or static data member functions that returns a numerical value and
takes numerical arguments.
For example you can now do (because TMath::BreitWigner is a static member
function):
TF1 *f = new TF1("f","x*TMath::BreitWigner(x,[0],[1])");
Cheers,
Philippe.
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET