File indexing completed on 2025-01-30 10:22:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef ROOT_Minuit2_FunctionMinimizer
0011 #define ROOT_Minuit2_FunctionMinimizer
0012
0013 #include "Minuit2/MnConfig.h"
0014 #include <vector>
0015
0016 namespace ROOT {
0017
0018 namespace Minuit2 {
0019
0020 class FCNBase;
0021 class FCNGradientBase;
0022 class FunctionMinimum;
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034 class FunctionMinimizer {
0035
0036 public:
0037 virtual ~FunctionMinimizer() {}
0038
0039
0040 virtual FunctionMinimum Minimize(const FCNBase &, const std::vector<double> &par, const std::vector<double> &err,
0041 unsigned int strategy, unsigned int maxfcn, double toler) const = 0;
0042
0043
0044 virtual FunctionMinimum Minimize(const FCNGradientBase &, const std::vector<double> &par,
0045 const std::vector<double> &err, unsigned int strategy, unsigned int maxfcn,
0046 double toler) const = 0;
0047
0048
0049 virtual FunctionMinimum Minimize(const FCNBase &, const std::vector<double> &par, unsigned int nrow,
0050 const std::vector<double> &cov, unsigned int strategy, unsigned int maxfcn,
0051 double toler) const = 0;
0052
0053
0054 virtual FunctionMinimum Minimize(const FCNGradientBase &, const std::vector<double> &par, unsigned int nrow,
0055 const std::vector<double> &cov, unsigned int strategy, unsigned int maxfcn,
0056 double toler) const = 0;
0057 };
0058
0059 }
0060
0061 }
0062
0063 #endif