Execution Time7.78s

Test: mathmore-testRandomDist (Passed)
Build: PR-4624-x86_64-ubuntu16-gcc54-opt (sft-ubuntu-1604-4) on 2019-11-14 19:02:07
Repository revision: ee743e1638624a8a6fed6adde874e58bb5acc139

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

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

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

Test Flat ROOT-GSL chi2 = 953.238 ndf 999 prob = 0.84729

Poisson - mu = 25		ROOT::Math::Random	Time = 335.688 	330	(ns/call)
Poisson - mu = 25		TRandom           	Time = 346.318 	350	(ns/call)
Poisson - mu = 25		UnuRan            	Time = 82.644 	80	(ns/call)

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


Test Poisson ROOT-UNR chi2 = 60.2439 ndf 44 prob = 0.0521495 		 igood = 2

Gaussian - mu,sigma = 25 , 5	ROOT::Math::Random	Time = 15.723 	10	(ns/call)
Gaussian - mu,sigma = 25 , 5	TRandom           	Time = 30.952 	20	(ns/call)
Gaussian - mu,sigma = 25 , 5	UnuRan            	Time = 49.176 	50	(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 Gaussian ROOT-GSL chi2 = 42.4357 ndf 49 prob = 0.734695 		 igood = 3
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 Gaussian ROOT_UNR chi2 = 44.4716 ndf 48 prob = 0.618219 		 igood = 3

Landau 				ROOT::Math::Random	Time = 20.5591 	20	(ns/call)
Landau 				TRandom           	Time = 18.2838 	20	(ns/call)

Test Landau chi2 = 365.007 ndf 299 prob = 0.00539235

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

Test Breit-Wigner chi2 = 40.0746 ndf 49 prob = 0.814479

Binomial - ntot,p = 100 , 0.1	ROOT::Math::Random	Time = 5.54109 	10	(ns/call)
Binomial - ntot,p = 100 , 0.1	TRandom           	Time = 558.129 	560	(ns/call)
Binomial - ntot,p = 100 , 0.1	UnuRan            	Time = 353.575 	360	(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 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.99987e+06 ndf 27 prob = 0 		 igood = 1

Multinomial - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 3253.06 	3200	(ns/call)
Multi-Poisson - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 16771.6 	16800	(ns/call)

Test Multinomial-Poisson chi2 = 32.8624 ndf 29 prob = 0.283325

Test Multinomial-gaus chi2 = 21.2166 ndf 29 prob = 0.851136

Exponential 			ROOT::Math::Random	Time = 34.086 	30	(ns/call)
Exponential 			TRandom           	Time = 41.199 	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 = 180.45 ndf 185 prob = 0.580739 		 igood = 3

Circle 				ROOT::Math::Random	Time = 30.7701 	30	(ns/call)
Circle 				TRandom           	Time = 88.7871 	80	(ns/call)

Test Circle chi2 = 265.89 ndf 299 prob = 0.916193

Sphere 				ROOT::Math::Random	Time = 36.2539 	40	(ns/call)
Sphere 				TRandom           	Time = 27.8721 	30	(ns/call)

Test Sphere-phi chi2 = 300.976 ndf 299 prob = 0.45705

Test Sphere-theta chi2 = 328.575 ndf 299 prob = 0.115315