Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
GradientCalculator.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_GradientCalculator
11#define ROOT_Minuit2_GradientCalculator
12
13#include "Minuit2/MnMatrixfwd.h"
14
15namespace ROOT {
16
17namespace Minuit2 {
18
19class MinimumParameters;
20class FunctionGradient;
21
22/**
23 interface class for gradient calculators
24 */
26
27public:
29
30 virtual FunctionGradient operator()(const MinimumParameters &) const = 0;
31
33
34 virtual bool Hessian(const MinimumParameters &, MnAlgebraicSymMatrix &) const { return false;}
35
36 virtual bool G2(const MinimumParameters &, MnAlgebraicVector &) const { return false;}
37
38};
39
40} // namespace Minuit2
41
42} // namespace ROOT
43
44#endif // ROOT_Minuit2_GradientCalculator
interface class for gradient calculators
virtual FunctionGradient operator()(const MinimumParameters &, const FunctionGradient &) const =0
virtual FunctionGradient operator()(const MinimumParameters &) const =0
virtual bool G2(const MinimumParameters &, MnAlgebraicVector &) const
virtual bool Hessian(const MinimumParameters &, MnAlgebraicSymMatrix &) const
Class describing a symmetric matrix of size n.
Definition LASymMatrix.h:45
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...