![]() |
ROOT 6.07/09 Reference Guide |
#include "Math/Minimizer.h"
#include "Math/Factory.h"
#include "Math/Functor.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"
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 () |
double | PowellFunction (const double *par) |
void | printMinimum (const std::vector< double > &x) |
void | RosenBrock (Int_t &, Double_t *, Double_t &f, Double_t *par, Int_t) |
double | SimpleQuadFunction (const double *par) |
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 | testPowell () |
int | testQuadFunc () |
int | testRosenBrock () |
int | testTrigoFletcher () |
int | testWood () |
const double * | TrueMinimum (const ROOT::Math::IMultiGenFunction &func) |
double | WoodFunction (const double *par) |
Variables | |
double | gAbsTolerance = 0.005 |
int | gNCall = 0 |
int | gNCall2 = 0 |
int | gNmin = 1000 |
int | gVerbose = 0 |
bool | minos = true |
bool | useGradient = false |
Definition at line 37 of file testMinimizer.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 445 of file testMinimizer.cxx.
int DoOldMinimization | ( | FCN | func, |
TVirtualFitter * | min, | ||
double & | minval, | ||
double & | edm | ||
) |
Definition at line 515 of file testMinimizer.cxx.
int main | ( | ) |
Definition at line 861 of file testMinimizer.cxx.
double PowellFunction | ( | const double * | par | ) |
Definition at line 394 of file testMinimizer.cxx.
void printMinimum | ( | const std::vector< double > & | x | ) |
Definition at line 431 of file testMinimizer.cxx.
Definition at line 44 of file testMinimizer.cxx.
double SimpleQuadFunction | ( | const double * | par | ) |
Definition at line 411 of file testMinimizer.cxx.
int testChebyQuad | ( | ) |
Definition at line 681 of file testMinimizer.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 559 of file testMinimizer.cxx.
int testOldMinimizer | ( | FCN | func, |
const std::string & | fitter, | ||
int | n = 25 |
||
) |
Definition at line 611 of file testMinimizer.cxx.
int testPowell | ( | ) |
Definition at line 803 of file testMinimizer.cxx.
int testQuadFunc | ( | ) |
Definition at line 832 of file testMinimizer.cxx.
int testRosenBrock | ( | ) |
Definition at line 644 of file testMinimizer.cxx.
int testTrigoFletcher | ( | ) |
Definition at line 740 of file testMinimizer.cxx.
int testWood | ( | ) |
Definition at line 773 of file testMinimizer.cxx.
const double* TrueMinimum | ( | const ROOT::Math::IMultiGenFunction & | func | ) |
Definition at line 420 of file testMinimizer.cxx.
double WoodFunction | ( | const double * | par | ) |
Definition at line 374 of file testMinimizer.cxx.
double gAbsTolerance = 0.005 |
Definition at line 33 of file testMinimizer.cxx.
int gNCall = 0 |
Definition at line 25 of file testMinimizer.cxx.
int gNCall2 = 0 |
Definition at line 26 of file testMinimizer.cxx.
int gNmin = 1000 |
Definition at line 27 of file testMinimizer.cxx.
int gVerbose = 0 |
Definition at line 28 of file testMinimizer.cxx.
bool minos = true |
Definition at line 31 of file testMinimizer.cxx.
bool useGradient = false |
Definition at line 29 of file testMinimizer.cxx.