Execution Time8.89s

Test: mathmore-testRandomDist (Passed)
Build: PR-4279-x86_64-fedora29-gcc8-opt (root-fedora29-3.cern.ch) on 2019-11-14 21:03:34

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

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

Flat - [0,1]       	ROOT::Math::Random	Time = 16.0379 	20	(ns/call)
Flat - [0,1]       	TRandom           	Time = 6.05512 	10	(ns/call)

Test Flat ROOT-GSL chi2 = 924 ndf 999 prob = 0.956071

Poisson - mu = 25		ROOT::Math::Random	Time = 495.631 	370	(ns/call)
Poisson - mu = 25		TRandom           	Time = 359.546 	350	(ns/call)
Poisson - mu = 25		UnuRan            	Time = 91.022 	90	(ns/call)

Test Poisson ROOT-GSL chi2 = 27.4087 ndf 44 prob = 0.976388

Test Poisson ROOT-UNR chi2 = 53.8335 ndf 44 prob = 0.147113

Gaussian - mu,sigma = 25 , 5	ROOT::Math::Random	Time = 21.1551 	20	(ns/call)
Gaussian - mu,sigma = 25 , 5	TRandom           	Time = 33.628 	30	(ns/call)
Gaussian - mu,sigma = 25 , 5	UnuRan            	Time = 51.1782 	50	(ns/call)

Test Gaussian ROOT-GSL chi2 = 61.7343 ndf 48 prob = 0.087974
Info in <TH1D::Chi2TestX>: There is a bin in h2 with less than 1 event.


Test Gaussian ROOT_UNR chi2 = 45.7877 ndf 48 prob = 0.563949 		 igood = 2

Landau 				ROOT::Math::Random	Time = 25.9621 	30	(ns/call)
Landau 				TRandom           	Time = 19.0601 	20	(ns/call)

Test Landau chi2 = 288.378 ndf 299 prob = 0.659936

Breit-Wigner - m,g = 25 , 5	ROOT::Math::Random	Time = 66.0498 	60	(ns/call)
Breit-Wigner - m,g = 25 , 5	TRandom           	Time = 57.2031 	50	(ns/call)

Test Breit-Wigner chi2 = 51.79 ndf 49 prob = 0.365516

Binomial - ntot,p = 100 , 0.1	ROOT::Math::Random	Time = 5.97596 	0	(ns/call)
Binomial - ntot,p = 100 , 0.1	TRandom           	Time = 688.75 	690	(ns/call)
Binomial - ntot,p = 100 , 0.1	UnuRan            	Time = 341.285 	340	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


Test Binomial ROOT-GSL chi2 = 1.9999e+06 ndf 26 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.99989e+06 ndf 27 prob = 0 		 igood = 1

Multinomial - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 3945.84 	3900	(ns/call)
Multi-Poisson - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 18516.3 	18300	(ns/call)

Test Multinomial-Poisson chi2 = 37.832 ndf 29 prob = 0.126118

Test Multinomial-gaus chi2 = 30.0381 ndf 29 prob = 0.412104

Exponential 			ROOT::Math::Random	Time = 55.7129 	40	(ns/call)
Exponential 			TRandom           	Time = 41.94 	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 = 202.855 ndf 190 prob = 0.248518 		 igood = 3

Circle 				ROOT::Math::Random	Time = 45.5132 	40	(ns/call)
Circle 				TRandom           	Time = 56.3419 	60	(ns/call)

Test Circle chi2 = 288.375 ndf 299 prob = 0.65998

Sphere 				ROOT::Math::Random	Time = 45.6572 	50	(ns/call)
Sphere 				TRandom           	Time = 32.3851 	30	(ns/call)

Test Sphere-phi chi2 = 285.011 ndf 299 prob = 0.710153

Test Sphere-theta chi2 = 320.07 ndf 299 prob = 0.192344