[ROOT] TF1 & class method

From: Maksim A. Nikulin (M.A.Nikulin@inp.nsk.su)
Date: Tue May 08 2001 - 15:52:16 MEST


Hi,

Is it possible to create TF1 with a class method?
Something like

ClassTest c;
TF1 *f = new TF1("Test", c.function, 0, 1, 0);

where
Double_t ClassTest::function(Double_t *x, Double_t *p)
{
// ...
}

M.A.Nikulin



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