Execution Time12.45s

Test: mathmore-testRandomDist (Passed)
Build: master-x86_64-mac1014-clang100-opt-exp-cxxmod (macitois21.cern.ch) on 2019-11-14 00:07:23

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
***************************************************
 TEST RANDOM DISTRIBUTIONS   NEVT = 1000000
***************************************************

Flat - [0,1]       	ROOT::Math::Random	Time = 33.376 	30	(ns/call)
Flat - [0,1]       	TRandom           	Time = 6.81114 	10	(ns/call)

Test Flat ROOT-GSL chi2 = 991.666 ndf 999 prob = 0.559442

Poisson - mu = 25		ROOT::Math::Random	Time = 555.301 	550	(ns/call)
Poisson - mu = 25		TRandom           	Time = 318.201 	310	(ns/call)
Poisson - mu = 25		UnuRan            	Time = 179.293 	140	(ns/call)

Test Poisson ROOT-GSL chi2 = 48.1022 ndf 44 prob = 0.310297
Info in <TH1D::Chi2TestX>: There is a bin in h2 with less than 1 event.


Test Poisson ROOT-UNR chi2 = 48.2944 ndf 44 prob = 0.303533 		 igood = 2

Gaussian - mu,sigma = 25 , 5	ROOT::Math::Random	Time = 49.664 	50	(ns/call)
Gaussian - mu,sigma = 25 , 5	TRandom           	Time = 38.7342 	40	(ns/call)
Gaussian - mu,sigma = 25 , 5	UnuRan            	Time = 168.832 	80	(ns/call)

Test Gaussian ROOT-GSL chi2 = 42.9092 ndf 46 prob = 0.602483
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


Test Gaussian ROOT_UNR chi2 = 62.6867 ndf 47 prob = 0.0625648 		 igood = 1

Landau 				ROOT::Math::Random	Time = 65.8929 	60	(ns/call)
Landau 				TRandom           	Time = 29.5069 	30	(ns/call)

Test Landau chi2 = 284.638 ndf 299 prob = 0.715528

Breit-Wigner - m,g = 25 , 5	ROOT::Math::Random	Time = 91.728 	90	(ns/call)
Breit-Wigner - m,g = 25 , 5	TRandom           	Time = 55.6989 	50	(ns/call)

Test Breit-Wigner chi2 = 51.243 ndf 49 prob = 0.385767

Binomial - ntot,p = 100 , 0.1	ROOT::Math::Random	Time = 7.442 	10	(ns/call)
Binomial - ntot,p = 100 , 0.1	TRandom           	Time = 1173.96 	1160	(ns/call)
Binomial - ntot,p = 100 , 0.1	UnuRan            	Time = 473.417 	470	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


Test Binomial ROOT-GSL chi2 = 1.99991e+06 ndf 27 prob = 0 		 igood = 1
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


Test Binomial ROOT-UNR chi2 = 1.99988e+06 ndf 26 prob = 0 		 igood = 1

Multinomial - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 7744.48 	7600	(ns/call)
Multi-Poisson - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 26584.8 	26100	(ns/call)

Test Multinomial-Poisson chi2 = 27.7164 ndf 29 prob = 0.53311

Test Multinomial-gaus chi2 = 33.8959 ndf 29 prob = 0.243091

Exponential 			ROOT::Math::Random	Time = 70.096 	70	(ns/call)
Exponential 			TRandom           	Time = 33.309 	40	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.

Info in <TH1D::Chi2TestX>: There is a bin in h2 with less than 1 event.


Test Exponential chi2 = 147.468 ndf 183 prob = 0.974875 		 igood = 3

Circle 				ROOT::Math::Random	Time = 129.197 	130	(ns/call)
Circle 				TRandom           	Time = 58.9249 	60	(ns/call)

Test Circle chi2 = 322.103 ndf 299 prob = 0.171428

Sphere 				ROOT::Math::Random	Time = 135.296 	130	(ns/call)
Sphere 				TRandom           	Time = 44.5821 	40	(ns/call)

Test Sphere-phi chi2 = 303.534 ndf 299 prob = 0.416173

Test Sphere-theta chi2 = 270.035 ndf 299 prob = 0.884453