Hi,
well, I just tried it:
root [0] TF3 *fun3 = new TF3("fun3","x*x+y*y+z*z-3",-2,2,-2,2,-2,2);
root [1]
As you see it works.
3.10/00 RH7.3 gcc 2.96
Olivier
On Tue, 7 Oct 2003 frankland@ganil.fr wrote:
> Hello,
>
> Out of pure curiosity I tried the line
>
> > TF3 *fun3 = new TF3("fun3","x*x+y*y+z*z-3",-2,2,-2,2,-2,2)
> >
> >
> >
> in an interactive session and got the result:
>
> Error in <TF1::TF1>: function: fun3/x*x+y*y+z*z-3 has 3 parameters
> instead of 1
>
> 3.05/07 RH9 gcc 3.2.2
>
> John
>
--
Org: CERN - European Laboratory for Particle Physics.
Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910
E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522
WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET