Re: [ROOT] TGraph fit

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Mar 28 2002 - 17:57:02 MET


Hi Yuriy,

I have moved the functions LeastSquareFit and LeastSquareLinearFit from
protected to public. Now in CVS.

Rene Brun

Yuriy Prokazov wrote:
> 
> Dear ROOTers, I'd like to fit TGraph with squear polynom. There is function
> TGraph::LeastSquareFit(), but it was declared as protected. I made derevative
> class from TGraph where I made this function open and it seems to work. Is
> there any reason to hide this function? Is it safe to use it?
> 
> The main reason to use this function is the speed. I need to fit about 1000
> TGraphs with around 20k points per each graph. Standart function TGraph::Fit()
> works, but it looks strange to use common function instead of the specialy
> designed for polynomial fil.
> 
> Thank you.
> Best regards, Yuriy.



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