Execution Time7.80s

Test: mathmore-testRandomDist (Passed)
Build: master-x86_64-fedora31-gcc9 (root-fedora-31-1.cern.ch) on 2019-11-14 00:48:30

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

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

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

Test Flat ROOT-GSL chi2 = 994.801 ndf 999 prob = 0.531542

Poisson - mu = 25		ROOT::Math::Random	Time = 328.644 	320	(ns/call)
Poisson - mu = 25		TRandom           	Time = 281.655 	280	(ns/call)
Poisson - mu = 25		UnuRan            	Time = 82.4409 	80	(ns/call)

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


Test Poisson ROOT-UNR chi2 = 42.1451 ndf 44 prob = 0.551393

Gaussian - mu,sigma = 25 , 5	ROOT::Math::Random	Time = 19.7809 	20	(ns/call)
Gaussian - mu,sigma = 25 , 5	TRandom           	Time = 32.4759 	30	(ns/call)
Gaussian - mu,sigma = 25 , 5	UnuRan            	Time = 45.9168 	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 Gaussian ROOT-GSL chi2 = 47.9192 ndf 48 prob = 0.47613 		 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 = 31.7452 ndf 48 prob = 0.965985 		 igood = 3

Landau 				ROOT::Math::Random	Time = 25.327 	30	(ns/call)
Landau 				TRandom           	Time = 19.3529 	20	(ns/call)

Test Landau chi2 = 294.398 ndf 299 prob = 0.564298

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

Test Breit-Wigner chi2 = 31.9616 ndf 49 prob = 0.971602

Binomial - ntot,p = 100 , 0.1	ROOT::Math::Random	Time = 4.78315 	10	(ns/call)
Binomial - ntot,p = 100 , 0.1	TRandom           	Time = 639.704 	630	(ns/call)
Binomial - ntot,p = 100 , 0.1	UnuRan            	Time = 271.435 	270	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


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

Multinomial - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 4567.92 	4500	(ns/call)
Multi-Poisson - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 15633.1 	15600	(ns/call)

Test Multinomial-Poisson chi2 = 33.114 ndf 29 prob = 0.273164

Test Multinomial-gaus chi2 = 18.0523 ndf 29 prob = 0.9432

Exponential 			ROOT::Math::Random	Time = 38.5001 	40	(ns/call)
Exponential 			TRandom           	Time = 17.905 	20	(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 = 166.967 ndf 190 prob = 0.884622 		 igood = 3

Circle 				ROOT::Math::Random	Time = 43.1759 	40	(ns/call)
Circle 				TRandom           	Time = 56.1962 	60	(ns/call)

Test Circle chi2 = 299.021 ndf 299 prob = 0.488782

Sphere 				ROOT::Math::Random	Time = 43.6549 	40	(ns/call)
Sphere 				TRandom           	Time = 31.2438 	30	(ns/call)

Test Sphere-phi chi2 = 312.24 ndf 299 prob = 0.287466

Test Sphere-theta chi2 = 294.02 ndf 299 prob = 0.570442