ROOT 6.10/09 Reference Guide |
#include "Math/Minimizer.h"
#include "Math/Factory.h"
#include "TVirtualFitter.h"
#include "Math/IFunction.h"
#include "Math/Util.h"
#include <cmath>
#include <cassert>
#include <string>
#include <iostream>
#include "TStopwatch.h"
#include "TMatrixD.h"
#include "TVectorD.h"
#include "TRandom3.h"
#include "TMath.h"
#include "RVersion.h"
#include "RConfigure.h"
Typedefs | |
typedef void(* | FCN) (Int_t &npar, Double_t *gin, Double_t &f, Double_t *u, Int_t flag) |
Functions | |
int | DoNewMinimization (const ROOT::Math::IMultiGenFunction &func, const double *x0, const double *s0, ROOT::Math::Minimizer *min, double &minval, double &edm, double *minx) |
int | DoOldMinimization (FCN func, TVirtualFitter *min, double &minval, double &edm) |
int | main () |
void | printMinimum (const std::vector< double > &x) |
void | RosenBrock (Int_t &, Double_t *, Double_t &f, Double_t *par, Int_t) |
int | testChebyQuad () |
int | testNewMinimizer (const ROOT::Math::IMultiGenFunction &func, const double *x0, const double *s0, const std::string &minimizer, const std::string &algoType) |
int | testOldMinimizer (FCN func, const std::string &fitter, int n=25) |
int | testRosenBrock () |
int | testTrigoFletcher () |
double | TrueMinimum (const ROOT::Math::IMultiGenFunction &func) |
const double * | TrueXMinimum (const ROOT::Math::IMultiGenFunction &func) |
Variables | |
double | gAbsTolerance = 5.E-6 |
int | gNCall = 0 |
int | gNCall2 = 0 |
int | gNmin = 1 |
int | gVerbose = 1 |
bool | minos = false |
Definition at line 39 of file testMinim.cxx.
int DoNewMinimization | ( | const ROOT::Math::IMultiGenFunction & | func, |
const double * | x0, | ||
const double * | s0, | ||
ROOT::Math::Minimizer * | min, | ||
double & | minval, | ||
double & | edm, | ||
double * | minx | ||
) |
Definition at line 416 of file testMinim.cxx.
int DoOldMinimization | ( | FCN | func, |
TVirtualFitter * | min, | ||
double & | minval, | ||
double & | edm | ||
) |
Definition at line 484 of file testMinim.cxx.
int main | ( | ) |
Definition at line 740 of file testMinim.cxx.
void printMinimum | ( | const std::vector< double > & | x | ) |
Definition at line 402 of file testMinim.cxx.
Definition at line 46 of file testMinim.cxx.
int testChebyQuad | ( | ) |
Definition at line 682 of file testMinim.cxx.
int testNewMinimizer | ( | const ROOT::Math::IMultiGenFunction & | func, |
const double * | x0, | ||
const double * | s0, | ||
const std::string & | minimizer, | ||
const std::string & | algoType | ||
) |
Definition at line 530 of file testMinim.cxx.
int testOldMinimizer | ( | FCN | func, |
const std::string & | fitter, | ||
int | n = 25 |
||
) |
Definition at line 581 of file testMinim.cxx.
int testRosenBrock | ( | ) |
Definition at line 614 of file testMinim.cxx.
int testTrigoFletcher | ( | ) |
Definition at line 651 of file testMinim.cxx.
double TrueMinimum | ( | const ROOT::Math::IMultiGenFunction & | func | ) |
Definition at line 391 of file testMinim.cxx.
const double* TrueXMinimum | ( | const ROOT::Math::IMultiGenFunction & | func | ) |
Definition at line 381 of file testMinim.cxx.
double gAbsTolerance = 5.E-6 |
Definition at line 35 of file testMinim.cxx.
int gNCall = 0 |
Definition at line 27 of file testMinim.cxx.
int gNCall2 = 0 |
Definition at line 28 of file testMinim.cxx.
int gNmin = 1 |
Definition at line 29 of file testMinim.cxx.
int gVerbose = 1 |
Definition at line 30 of file testMinim.cxx.
bool minos = false |
Definition at line 33 of file testMinim.cxx.