Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-14 09:06:25

0001 // @(#)root/minuit2:$Id$
0002 // Authors: M. Winkler, F. James, L. Moneta, A. Zsenei, E.G.P. Bos   2003-2017
0003 
0004 /**********************************************************************
0005  *                                                                    *
0006  * Copyright (c) 2005 LCG ROOT Math team,  CERN/PH-SFT                *
0007  *                                                                    *
0008  **********************************************************************/
0009 
0010 #ifndef ROOT_Minuit2_FCNGradientBase
0011 #define ROOT_Minuit2_FCNGradientBase
0012 
0013 #include "Minuit2/FCNBase.h"
0014 
0015 namespace ROOT {
0016 
0017 namespace Minuit2 {
0018 
0019 //________________________________________________________________________
0020 /** Extension of the FCNBase for providing the analytical Gradient of the
0021     function.
0022     The size of the output Gradient vector must be equal to the size of the
0023     input Parameter vector.
0024  */
0025 
0026 class FCNGradientBase : public FCNBase {
0027 public:
0028    bool HasGradient() const final { return true; }
0029 };
0030 
0031 } // namespace Minuit2
0032 
0033 } // namespace ROOT
0034 
0035 #endif // ROOT_Minuit2_FCNGradientBase