ROOT
6.06/09
Reference Guide
|
#include "Math/Random.h"
#include "Math/TRandomEngine.h"
#include "Math/MersenneTwisterEngine.h"
#include "Math/MixMaxEngine.h"
#include "Math/GoFTest.h"
#include "Math/ProbFunc.h"
#include "TH1.h"
#include "TCanvas.h"
#include "TRandom1.h"
#include "TRandom2.h"
#include "TRandom3.h"
#include "TStopwatch.h"
#include <iostream>
#include <random>
Go to the source code of this file.
Functions | |
bool | testCompatibility (const std::vector< double > &x, const std::vector< double > &y, double xmin=0, double xmax=1) |
template<class R1 , class R2 > | |
bool | testUniform (R1 &r1, R2 &r2) |
template<class R1 , class R2 > | |
bool | testGauss (R1 &r1, R2 &r2) |
bool | test1 () |
bool | test2 () |
bool | testMathRandom () |
int | main () |
Variables | |
const long long | NR = 1E7 |
double | minPValue = 1.E-3 |
bool | showPlots = false |
int main | ( | ) |
Definition at line 191 of file testMathRandom.cxx.
bool test1 | ( | ) |
Definition at line 139 of file testMathRandom.cxx.
Referenced by testMathRandom().
bool test2 | ( | ) |
Definition at line 151 of file testMathRandom.cxx.
Referenced by testMathRandom().
bool testCompatibility | ( | const std::vector< double > & | x, |
const std::vector< double > & | y, | ||
double | xmin = 0 , |
||
double | xmax = 1 |
||
) |
Definition at line 30 of file testMathRandom.cxx.
Referenced by testGauss(), and testUniform().
bool testGauss | ( | R1 & | r1, |
R2 & | r2 | ||
) |
Definition at line 114 of file testMathRandom.cxx.
bool testMathRandom | ( | ) |
Definition at line 168 of file testMathRandom.cxx.
Referenced by main().
bool testUniform | ( | R1 & | r1, |
R2 & | r2 | ||
) |
Definition at line 88 of file testMathRandom.cxx.
double minPValue = 1.E-3 |
Definition at line 25 of file testMathRandom.cxx.
Referenced by testCompatibility().
const long long NR = 1E7 |
Definition at line 24 of file testMathRandom.cxx.
Referenced by piRandom(), testCompatibility(), testGauss(), testMathRandom(), and testUniform().
bool showPlots = false |
Definition at line 27 of file testMathRandom.cxx.
Referenced by testCompatibility().