Execution Time7.84s

Test: mathmore-testRandomDist (Passed)
Build: PR-4279-x86_64-ubuntu16-gcc54-opt (sft-ubuntu-1604-4) on 2019-11-14 21:01:42
Repository revision: eb9d2d64c365eec560379f62009bcc1579861643

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

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

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

Test Flat ROOT-GSL chi2 = 1013.94 ndf 999 prob = 0.364103

Poisson - mu = 25		ROOT::Math::Random	Time = 336.284 	340	(ns/call)
Poisson - mu = 25		TRandom           	Time = 347.739 	340	(ns/call)
Poisson - mu = 25		UnuRan            	Time = 88.717 	80	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h2 with less than 1 event.


Test Poisson ROOT-GSL chi2 = 39.2985 ndf 44 prob = 0.673081 		 igood = 2
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 Poisson ROOT-UNR chi2 = 41.793 ndf 45 prob = 0.608596 		 igood = 3

Gaussian - mu,sigma = 25 , 5	ROOT::Math::Random	Time = 15.8529 	10	(ns/call)
Gaussian - mu,sigma = 25 , 5	TRandom           	Time = 30.859 	30	(ns/call)
Gaussian - mu,sigma = 25 , 5	UnuRan            	Time = 48.995 	50	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


Test Gaussian ROOT-GSL chi2 = 49.9609 ndf 48 prob = 0.395371 		 igood = 1
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


Test Gaussian ROOT_UNR chi2 = 45.0811 ndf 48 prob = 0.593173 		 igood = 1

Landau 				ROOT::Math::Random	Time = 20.5681 	20	(ns/call)
Landau 				TRandom           	Time = 18.1341 	20	(ns/call)

Test Landau chi2 = 292.901 ndf 299 prob = 0.588553

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

Test Breit-Wigner chi2 = 28.6371 ndf 49 prob = 0.991115

Binomial - ntot,p = 100 , 0.1	ROOT::Math::Random	Time = 5.615 	10	(ns/call)
Binomial - ntot,p = 100 , 0.1	TRandom           	Time = 561.796 	560	(ns/call)
Binomial - ntot,p = 100 , 0.1	UnuRan            	Time = 353.851 	350	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


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

Multinomial - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 3263.29 	3300	(ns/call)
Multi-Poisson - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 17091.5 	16900	(ns/call)

Test Multinomial-Poisson chi2 = 34.5983 ndf 29 prob = 0.218033

Test Multinomial-gaus chi2 = 44.6062 ndf 29 prob = 0.0321205

Exponential 			ROOT::Math::Random	Time = 34.3359 	40	(ns/call)
Exponential 			TRandom           	Time = 41.4569 	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 = 155.842 ndf 185 prob = 0.941629 		 igood = 3

Circle 				ROOT::Math::Random	Time = 30.8781 	30	(ns/call)
Circle 				TRandom           	Time = 77.1811 	70	(ns/call)

Test Circle chi2 = 291.195 ndf 299 prob = 0.615877

Sphere 				ROOT::Math::Random	Time = 32.475 	30	(ns/call)
Sphere 				TRandom           	Time = 27.8919 	30	(ns/call)

Test Sphere-phi chi2 = 320.808 ndf 299 prob = 0.184569

Test Sphere-theta chi2 = 304.689 ndf 299 prob = 0.39805