Logo ROOT  
Reference Guide
FunctionGradient.h
Go to the documentation of this file.
1// @(#)root/minuit2:$Id$
2// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4/**********************************************************************
5 * *
6 * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7 * *
8 **********************************************************************/
9
10#ifndef ROOT_Minuit2_FunctionGradient
11#define ROOT_Minuit2_FunctionGradient
12
15
16namespace ROOT {
17
18 namespace Minuit2 {
19
20
22
23private:
24
25public:
26
27 explicit FunctionGradient(unsigned int n) :
29
30 explicit FunctionGradient(const MnAlgebraicVector& grd) :
32
34 const MnAlgebraicVector& gstep) :
36
38
40
42 fData = grad.fData;
43 return *this;
44 }
45
46 const MnAlgebraicVector& Grad() const {return fData->Grad();}
47 const MnAlgebraicVector& Vec() const {return fData->Vec();}
48 bool IsValid() const {return fData->IsValid();}
49
50 bool IsAnalytical() const {return fData->IsAnalytical();}
51 const MnAlgebraicVector& G2() const {return fData->G2();}
52 const MnAlgebraicVector& Gstep() const {return fData->Gstep();}
53
54private:
55
57};
58
59 } // namespace Minuit2
60
61} // namespace ROOT
62
63#endif // ROOT_Minuit2_FunctionGradient
const MnAlgebraicVector & Gstep() const
FunctionGradient & operator=(const FunctionGradient &grad)
MnRefCountedPointer< BasicFunctionGradient > fData
const MnAlgebraicVector & Grad() const
FunctionGradient(const MnAlgebraicVector &grd, const MnAlgebraicVector &g2, const MnAlgebraicVector &gstep)
const MnAlgebraicVector & Vec() const
FunctionGradient(const FunctionGradient &grad)
const MnAlgebraicVector & G2() const
FunctionGradient(const MnAlgebraicVector &grd)
const Int_t n
Definition: legend1.C:16
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition: StringConv.hxx:21