Execution Time7.46s

Test: mathmore-testRandomDist (Passed)
Build: v6-18-00-patches-x86_64-ubuntu16-gcc54-opt (sft-ubuntu-1604-4) on 2019-11-14 00:46:47
Repository revision: 869553a4dd0f00a0fc618d6e9d1fbdd66c820707

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

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

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

Test Flat ROOT-GSL chi2 = 1003.24 ndf 999 prob = 0.456349

Poisson - mu = 25		ROOT::Math::Random	Time = 335.701 	340	(ns/call)
Poisson - mu = 25		TRandom           	Time = 344.191 	340	(ns/call)
Poisson - mu = 25		UnuRan            	Time = 83.57 	80	(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 Poisson ROOT-GSL chi2 = 40.9413 ndf 45 prob = 0.644503 		 igood = 3
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


Test Poisson ROOT-UNR chi2 = 21.5872 ndf 45 prob = 0.998782 		 igood = 1

Gaussian - mu,sigma = 25 , 5	ROOT::Math::Random	Time = 15.826 	20	(ns/call)
Gaussian - mu,sigma = 25 , 5	TRandom           	Time = 31.132 	30	(ns/call)
Gaussian - mu,sigma = 25 , 5	UnuRan            	Time = 49.603 	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 = 41.4521 ndf 48 prob = 0.736451 		 igood = 3

Test Gaussian ROOT_UNR chi2 = 42.7238 ndf 47 prob = 0.650187 		 igood = 2

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

Landau 				ROOT::Math::Random	Time = 20.6048 	20	(ns/call)
Landau 				TRandom           	Time = 30.232 	20	(ns/call)

Test Landau chi2 = 334.459 ndf 299 prob = 0.0773111

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

Test Breit-Wigner chi2 = 41.6875 ndf 49 prob = 0.761367

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


Test Binomial ROOT-GSL chi2 = 1.99992e+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 27 prob = 0 		 igood = 1

Multinomial - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 3261.36 	3300	(ns/call)
Multi-Poisson - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 16642.8 	16600	(ns/call)

Test Multinomial-Poisson chi2 = 29.5014 ndf 29 prob = 0.439191

Test Multinomial-gaus chi2 = 23.8904 ndf 29 prob = 0.734319

Exponential 			ROOT::Math::Random	Time = 34.1609 	40	(ns/call)
Exponential 			TRandom           	Time = 42.7969 	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 = 183.851 ndf 187 prob = 0.551413 		 igood = 3

Circle 				ROOT::Math::Random	Time = 31.0109 	30	(ns/call)
Circle 				TRandom           	Time = 76.1449 	80	(ns/call)

Test Circle chi2 = 306.928 ndf 299 prob = 0.363702

Sphere 				ROOT::Math::Random	Time = 32.578 	30	(ns/call)
Sphere 				TRandom           	Time = 27.868 	20	(ns/call)

Test Sphere-phi chi2 = 269.075 ndf 299 prob = 0.892443

Test Sphere-theta chi2 = 317.147 ndf 299 prob = 0.225209