Hi, You can, for example, compute the function values and store the values in a histogram. Example root > TF1 *f1 = new TF1("f1","sin(x)/x",0,10); root > TH1F h("h","",100,0,10); root > h.Eval(f1); but, in general, with Root, this is not necessary. You can directly evaluate the function value, example root > f1->Eval(5); Rene Brun Sunil Jayatilleke wrote: > > Could you tell me the easiest way to do the PAW vector operation below in > ROOT ? > > HISTOGRAM/GET_VECT/FUNCTION ID VNAME > > thanks > Sunil
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET