Re: [ROOT] TMinuit

From: Maurizio Ungaro (ungaro@jlab.org)
Date: Fri Jul 13 2001 - 14:34:48 MEST


The fcn function set with SetFCN doesn't take variables as
paramaeter, but instead it read those values from global memory.
Example:
   delta  = (z[i]-func(x[i],y[i],p[i],par))/errorz[i];

here z[i], x[i], y[i] atc are GLOBAL and I cannot pass them to fcn.

( PS :
  SetFCN is overloaded with:
  (*)
  (fcn(fixed number of parameters))
  Maybe one can use the (*) version to create his own fcn ?
)



Mauri

On Fri, 13 Jul 2001, Rene Brun wrote:

> Hi Maurizio,
>
> Could you clarify your point? Are you talking about teh function
> called by FCN ?
>
> Rene Brun
>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET