ROOT   Reference Guide
TF1Helper.h
Go to the documentation of this file.
1// @(#)root/hist:$Id$
2// Author: Lorenzo Moneta 12/06/07
3
4/**********************************************************************
5 * *
6 * Copyright (c) 2007 LCG ROOT Math Team, CERN/PH-SFT *
7 * *
8 * *
9 **********************************************************************/
10
11// helper functions used internally by TF1
12
13#ifndef ROOT_TF1Helper
14#define ROOT_TF1Helper
15
16#include "TF1.h"
17
18namespace ROOT {
19
20 namespace TF1Helper {
21
22 double IntegralError(TF1 * func, int dim, const double * a, const double * b, const double * params, const double * covmat, double eps);
23
24 /**
25 function class representing the derivative with respect a parameter of a given TF1
26 */
28
29 public:
30
31 TGradientParFunction(int ipar, TF1 * f) :
32 fPar(ipar),
33 fFunc(f)
34 {}
35
36 double operator() (double * x, double *) const
37 {
38 // evaluate gradient vector of functions at point x
40 }
41
42 private:
43
44 unsigned int fPar;
45 mutable TF1 * fFunc;
46 };
47
48
49 } // end namespace TF1Helper
50
51} // end namespace TF1
52
53#endif
#define f(i)
Definition: RSha256.hxx:104
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t b
function class representing the derivative with respect a parameter of a given TF1
Definition: TF1Helper.h:27
double operator()(double *x, double *) const
Definition: TF1Helper.h:36