Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
AnalyticalGradientCalculator.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_AnalyticalGradientCalculator
11#define ROOT_Minuit2_AnalyticalGradientCalculator
12
14#include "Minuit2/MnMatrixfwd.h"
15
16namespace ROOT {
17
18namespace Minuit2 {
19
20class FCNBase;
22
23
25
26public:
31
32 FunctionGradient operator()(const MinimumParameters &) const override;
33
34 FunctionGradient operator()(const MinimumParameters &, const FunctionGradient &) const override;
35
36 /// compute Hessian matrix
37 bool Hessian(const MinimumParameters &, MnAlgebraicSymMatrix &) const override;
38
39 /// compute second derivatives (diagonal of Hessian)
40 bool G2(const MinimumParameters &, MnAlgebraicVector &) const override;
41
42 virtual bool CanComputeG2() const;
43
44 virtual bool CanComputeHessian() const;
45
46protected:
49};
50
51} // namespace Minuit2
52
53} // namespace ROOT
54
55#endif // ROOT_Minuit2_AnalyticalGradientCalculator
bool G2(const MinimumParameters &, MnAlgebraicVector &) const override
compute second derivatives (diagonal of Hessian)
FunctionGradient operator()(const MinimumParameters &) const override
AnalyticalGradientCalculator(const FCNBase &fcn, const MnUserTransformation &state)
bool Hessian(const MinimumParameters &, MnAlgebraicSymMatrix &) const override
compute Hessian matrix
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
Definition FCNBase.h:51
interface class for gradient calculators
Class describing a symmetric matrix of size n.
Definition MnMatrix.h:438
class dealing with the transformation between user specified parameters (external) and internal param...
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...