Logo ROOT   6.07/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

int main ( )

Definition at line 213 of file testMathRandom.cxx.

bool test1 ( )

Definition at line 139 of file testMathRandom.cxx.

bool test2 ( )

Definition at line 151 of file testMathRandom.cxx.

bool test3 ( )

Definition at line 165 of file testMathRandom.cxx.

bool test4 ( )

Definition at line 180 of file testMathRandom.cxx.

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.

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

Definition at line 114 of file testMathRandom.cxx.

bool testMathRandom ( )

Definition at line 196 of file testMathRandom.cxx.

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

Definition at line 88 of file testMathRandom.cxx.

Variable Documentation

double minPValue = 1.E-3

Definition at line 25 of file testMathRandom.cxx.

const long long NR = 1E7

Definition at line 24 of file testMathRandom.cxx.

bool showPlots = false

Definition at line 27 of file testMathRandom.cxx.