Hello Rooters, I want to define myself a fitting function. But I do not know exactly what the parameters of this function are for. The type of this fitting function should be: void MyFittingFunction(Int_t &npar, Double_t *gin, Double_t &f, Double_t *u, Int_t flag); Even when looking at TH::H1FitLikelihood or at TGraph::GraphFitChisquare I do not understand every parameter. Here what I understand or what I do not understand: npar - this seems to be the number of parameters in my fitting function gin - I do not know what this means, it is not used in the two methods mentioned above f - resulting value, seems to be a chi-square value u - a list of the npar parameters used in the fitting-fuction flag - also an unknown value So is there anybody who can explain all these parameters in more detail? And explaining if the parameters need a value from the user of if they give back a value? Cheers Alexander Dietz
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:59 MET