Logo ROOT   6.10/09
Reference Guide
Functions | Variables
testMathRandom.cxx File Reference
#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>
Include dependency graph for testMathRandom.cxx:

Functions

int main ()
 
bool test1 ()
 
bool test2 ()
 
bool test3 ()
 
bool test4 ()
 
bool testCompatibility (const std::vector< double > &x, const std::vector< double > &y, double xmin=0, double xmax=1)
 
template<class R1 , class R2 >
bool testGauss (R1 &r1, R2 &r2)
 
bool testMathRandom ()
 
template<class R1 , class R2 >
bool testUniform (R1 &r1, R2 &r2)
 

Variables

double minPValue = 1.E-3
 
const long long NR = 1E7
 
bool showPlots = false
 

Function Documentation

◆ main()

int main ( )

Definition at line 213 of file testMathRandom.cxx.

◆ test1()

bool test1 ( )

Definition at line 139 of file testMathRandom.cxx.

◆ test2()

bool test2 ( )

Definition at line 151 of file testMathRandom.cxx.

◆ test3()

bool test3 ( )

Definition at line 165 of file testMathRandom.cxx.

◆ test4()

bool test4 ( )

Definition at line 180 of file testMathRandom.cxx.

◆ testCompatibility()

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.

◆ testGauss()

template<class R1 , class R2 >
bool testGauss ( R1 &  r1,
R2 &  r2 
)

Definition at line 114 of file testMathRandom.cxx.

◆ testMathRandom()

bool testMathRandom ( )

Definition at line 196 of file testMathRandom.cxx.

◆ testUniform()

template<class R1 , class R2 >
bool testUniform ( R1 &  r1,
R2 &  r2 
)

Definition at line 88 of file testMathRandom.cxx.

Variable Documentation

◆ minPValue

double minPValue = 1.E-3

Definition at line 25 of file testMathRandom.cxx.

◆ NR

const long long NR = 1E7

Definition at line 24 of file testMathRandom.cxx.

◆ showPlots

bool showPlots = false

Definition at line 27 of file testMathRandom.cxx.