#include "Math/DistFunc.h"#include "Math/IParamFunction.h"#include "Math/Integrator.h"#include "Math/Derivator.h"#include "Math/Functor.h"#include "Math/RootFinderAlgorithms.h"#include "Math/RootFinder.h"#include <iostream>#include <iomanip>#include <limits>#include <cmath>#include <stdlib.h>#include "TBenchmark.h"#include "TROOT.h"#include "TRandom3.h"#include "TSystem.h"#include "TF1.h"Go to the source code of this file.
Classes | |
| struct | Func |
| struct | Func3 |
| struct | Func4 |
| class | StatFunction< Func, FuncQ, NPAR, NPARQ > |
| struct | InvFunc |
Defines | |
| #define | INF std::numeric_limits<double>::infinity() |
Typedefs | |
| typedef double(*) | FreeFunc3 (double, double, double) |
| typedef double(*) | FreeFunc4 (double, double, double, double) |
Functions | |
| void | PrintTest (std::string name) |
| void | PrintStatus (int iret) |
| int | compare (std::string name, double v1, double v2, double scale=2.0) |
| int | testGammaFunction (int n=100) |
| int | testBetaFunction (int n=100) |
| int | stressMathMore (double nscale=1) |
| int | main (int argc, const char *argv[]) |
Variables | |
| bool | debug = true |
| bool | removeFiles = false |
| const int | NPAR = 2 |
| #define INF std::numeric_limits<double>::infinity() |
Definition at line 51 of file stressMathMore.cxx.
Referenced by StatFunction< Func, FuncQ, NPAR, NPARQ >::StatFunction().
Definition at line 114 of file stressMathMore.cxx.
Definition at line 115 of file stressMathMore.cxx.
| int compare | ( | std::string | name, | |
| double | v1, | |||
| double | v2, | |||
| double | scale = 2.0 | |||
| ) |
Definition at line 71 of file stressMathMore.cxx.
References d, debug, RootCsg::epsilon, int, and pr().
| int main | ( | int | argc, | |
| const char * | argv[] | |||
| ) |
| void PrintStatus | ( | int | iret | ) |
Definition at line 63 of file stressMathMore.cxx.
| void PrintTest | ( | std::string | name | ) |
Definition at line 59 of file stressMathMore.cxx.
| int stressMathMore | ( | double | nscale = 1 |
) |
Definition at line 556 of file stressMathMore.cxx.
References TBenchmark::GetCpuTime(), TROOT::GetSvnBranch(), TROOT::GetSvnRevision(), TROOT::GetVersion(), gROOT, int, n, ntest, TBenchmark::Print(), TBenchmark::Start(), TBenchmark::Stop(), testBetaFunction(), and testGammaFunction().
Referenced by main().
| int testBetaFunction | ( | int | n = 100 |
) |
Definition at line 495 of file stressMathMore.cxx.
References ROOT::Math::Cephes::beta(), ROOT::Math::beta_cdf(), ROOT::Math::beta_pdf(), ROOT::Math::beta_quantile(), cdf(), ROOT::Math::gv_detail::dist(), i, ROOT::Math::IntegrationOneDim::kADAPTIVESINGULAR, ROOT::Math::Minim1D::kBRENT, ROOT::Math::IntegrationOneDim::kGAUSS, n, name, PrintStatus(), PrintTest(), and ROOT::Math::Util::ToString().
Referenced by stressMathMore().
| int testGammaFunction | ( | int | n = 100 |
) |
Definition at line 432 of file stressMathMore.cxx.
References cdf(), ROOT::Math::gv_detail::dist(), double, ROOT::Math::gamma_cdf(), ROOT::Math::gamma_pdf(), ROOT::MathMore::gamma_quantile(), i, k, ROOT::Math::IntegrationOneDim::kADAPTIVESINGULAR, ROOT::Math::Minim1D::kBRENT, ROOT::Math::IntegrationOneDim::kGAUSS, n, name, pow(), PrintStatus(), PrintTest(), theta, and ROOT::Math::Util::ToString().
Referenced by stressMathMore().
| bool debug = true |
Definition at line 56 of file stressMathMore.cxx.
| const int NPAR = 2 |
Definition at line 142 of file stressMathMore.cxx.
Referenced by ErrorIntegral(), multidimSampling(), StatFunction< Func, FuncQ, NPAR, NPARQ >::NPar(), StatFunction< Func, FuncQ, NPAR, NPARQ >::Quantile(), StatFunction< Func, FuncQ, NPAR, NPARQ >::SetParameters(), StatFunction< Func, FuncQ, NPAR, NPARQ >::StatFunction(), StatFunction< Func, FuncQ, NPAR, NPARQ >::TestDerivative(), StatFunction< Func, FuncQ, NPAR, NPARQ >::TestIntegral(), StatFunction< Func, FuncQ, NPAR, NPARQ >::TestInverse1(), and StatFunction< Func, FuncQ, NPAR, NPARQ >::TestInverse2().
| bool removeFiles = false |
Definition at line 57 of file stressMathMore.cxx.
1.5.1