ROOT  6.06/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:

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
 

Function Documentation

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().

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

Definition at line 114 of file testMathRandom.cxx.

Referenced by test1(), and test2().

bool testMathRandom ( )

Definition at line 168 of file testMathRandom.cxx.

Referenced by main().

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

Definition at line 88 of file testMathRandom.cxx.

Referenced by test1(), and test2().

Variable Documentation

double minPValue = 1.E-3

Definition at line 25 of file testMathRandom.cxx.

Referenced by testCompatibility().

const long long NR = 1E7
bool showPlots = false

Definition at line 27 of file testMathRandom.cxx.

Referenced by testCompatibility().