Re: [ROOT] TFormula

From: Pierre-Luc Drouin (pldrouin@physics.carleton.ca)
Date: Mon Aug 05 2002 - 20:32:15 MEST


Hi,

The problem I have is that I'm making a class that must be the most
flexible as possible, and it's possible that it needs more than 4
variables (perhaps 10, or more). Is there a mean to do that using
TFormula? I mean, once an interpreter is able to interpret
complex equations like
TFormula is able to do, what does limit the number of variables?

Thank you!

Pierre-Luc Drouin

On Mon, 5 Aug 2002, Rene Brun wrote:

> 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