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};
37
38} // namespace Minuit2
39
40} // namespace ROOT
41
42#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 Hessian(const MinimumParameters &, MnAlgebraicSymMatrix &) const
Class describing a symmetric matrix of size n.
Definition LASymMatrix.h:45
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.