Re: [ROOT] TFormula

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Aug 05 2002 - 20:15:57 MEST


Hi Pierre-Luc

TFormula allows up to 4 dimensions. Example:
 root > TFormula f("f","x+y+z+t")
 root > double x[4] = {1,2,3,4}
 root > f.EvalPar(x)

The current documentation indicates a max of 3 dimensions.
I have updated the comments in the CVS version.

Rene Brun

On Mon, 5 Aug 2002, Pierre-Luc Drouin wrote:

> Hello,
> 
> I need an equation interpreter that can be used with more than 3
> variables. Is there a class that allows it in ROOT?
> 
> Thank you!
> 
> Pierre-Luc Drouin
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:03 MET