TFormula::Update()

From: Rutger van der Eijk (r36@nikhef.nl)
Date: Thu Feb 17 2000 - 22:02:23 MET


Hi,

I have a function where the evaluation is expensive (i.e. time). Therefore
for a given parameters I want to tabelize some values in the allowed range
and extrapolate between the tabelized values. This I can do because the 
function is called much more often than the that the parameters change.

I have derived a class from TF1 which has now a lookup table. I overloaded
TF1::Eval() to look in the lookup table.

the question:

I have to make sure my lookup table is reset if parameters or range
changes. I see there is a member TFormula::Update(). Can I savely assume
this member is always called when a range or parameters changes takes
place? (i.e. can I overload TF1::Update() to fill my lookup table)

cheers,

Rutger



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:19 MET