Execution Time15.30s

Test: mathmore-testRandomDist (Passed)
Build: master-x86_64-ubuntu18-clang91-dbg (sft-ubuntu-1804-3) on 2020-01-24 16:40:45
Repository revision: b6118592fd04323fd0ad2e523defdb3e3b8f4e4a

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

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

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

Test Flat ROOT-GSL chi2 = 917.158 ndf 999 prob = 0.969151

Poisson - mu = 25		ROOT::Math::Random	Time = 421.799 	400	(ns/call)
Poisson - mu = 25		TRandom           	Time = 548.961 	550	(ns/call)
Poisson - mu = 25		UnuRan            	Time = 226.429 	230	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


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


Test Poisson ROOT-UNR chi2 = 48.18 ndf 45 prob = 0.345477 		 igood = 1

Gaussian - mu,sigma = 25 , 5	ROOT::Math::Random	Time = 39.8829 	40	(ns/call)
Gaussian - mu,sigma = 25 , 5	TRandom           	Time = 93.9651 	90	(ns/call)
Gaussian - mu,sigma = 25 , 5	UnuRan            	Time = 128.577 	120	(ns/call)

Test Gaussian ROOT-GSL chi2 = 44.8114 ndf 48 prob = 0.604283 		 igood = 2

Test Gaussian ROOT_UNR chi2 = 50.2401 ndf 48 prob = 0.384756 		 igood = 2
Info in <TH1D::Chi2TestX>: There is a bin in h2 with less than 1 event.

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


Landau 				ROOT::Math::Random	Time = 46.6409 	50	(ns/call)
Landau 				TRandom           	Time = 53.3791 	50	(ns/call)

Test Landau chi2 = 316.018 ndf 299 prob = 0.238767

Breit-Wigner - m,g = 25 , 5	ROOT::Math::Random	Time = 85.5429 	90	(ns/call)
Breit-Wigner - m,g = 25 , 5	TRandom           	Time = 94.218 	90	(ns/call)

Test Breit-Wigner chi2 = 47.2478 ndf 49 prob = 0.544406

Binomial - ntot,p = 100 , 0.1	ROOT::Math::Random	Time = 19.14 	20	(ns/call)
Binomial - ntot,p = 100 , 0.1	TRandom           	Time = 2146.6 	2140	(ns/call)
Binomial - ntot,p = 100 , 0.1	UnuRan            	Time = 661.512 	660	(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.9999e+06 ndf 28 prob = 0 		 igood = 1

Multinomial - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 4919.33 	4900	(ns/call)
Multi-Poisson - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 19185.5 	19200	(ns/call)

Test Multinomial-Poisson chi2 = 39.141 ndf 29 prob = 0.0989928

Test Multinomial-gaus chi2 = 42.4557 ndf 29 prob = 0.0510741

Exponential 			ROOT::Math::Random	Time = 62.444 	60	(ns/call)
Exponential 			TRandom           	Time = 77.5728 	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 Exponential chi2 = 220.169 ndf 193 prob = 0.0874835 		 igood = 3

Circle 				ROOT::Math::Random	Time = 65.4371 	60	(ns/call)
Circle 				TRandom           	Time = 109.312 	110	(ns/call)

Test Circle chi2 = 266.098 ndf 299 prob = 0.914768

Sphere 				ROOT::Math::Random	Time = 68.9831 	70	(ns/call)
Sphere 				TRandom           	Time = 97.0109 	90	(ns/call)

Test Sphere-phi chi2 = 302.525 ndf 299 prob = 0.43218

Test Sphere-theta chi2 = 288.452 ndf 299 prob = 0.65879