Execution Time9.26s

Test: mathmore-testRandomDist (Passed)
Build: master-x86_64-fedora28-gcc8 (sft-fedora-28-1.cern.ch) on 2019-11-14 01:14:20

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

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

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

Test Flat ROOT-GSL chi2 = 1010.22 ndf 999 prob = 0.395526

Poisson - mu = 25		ROOT::Math::Random	Time = 403.086 	390	(ns/call)
Poisson - mu = 25		TRandom           	Time = 371.738 	370	(ns/call)
Poisson - mu = 25		UnuRan            	Time = 99.7798 	100	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


Test Poisson ROOT-GSL chi2 = 43.1739 ndf 44 prob = 0.506926 		 igood = 1

Test Poisson ROOT-UNR chi2 = 42.566 ndf 43 prob = 0.490001

Gaussian - mu,sigma = 25 , 5	ROOT::Math::Random	Time = 20.391 	20	(ns/call)
Gaussian - mu,sigma = 25 , 5	TRandom           	Time = 34.9121 	40	(ns/call)
Gaussian - mu,sigma = 25 , 5	UnuRan            	Time = 51.9979 	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 = 51.1476 ndf 48 prob = 0.351144 		 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 = 57.9486 ndf 48 prob = 0.153947 		 igood = 3

Landau 				ROOT::Math::Random	Time = 26.0501 	30	(ns/call)
Landau 				TRandom           	Time = 20.5081 	20	(ns/call)

Test Landau chi2 = 281.574 ndf 299 prob = 0.757893

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

Test Breit-Wigner chi2 = 56.8627 ndf 49 prob = 0.205566

Binomial - ntot,p = 100 , 0.1	ROOT::Math::Random	Time = 6.00481 	0	(ns/call)
Binomial - ntot,p = 100 , 0.1	TRandom           	Time = 675.043 	670	(ns/call)
Binomial - ntot,p = 100 , 0.1	UnuRan            	Time = 393.301 	380	(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.99987e+06 ndf 27 prob = 0 		 igood = 1

Multinomial - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 3963.19 	3800	(ns/call)
Multi-Poisson - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 19439.8 	18900	(ns/call)

Test Multinomial-Poisson chi2 = 15.5145 ndf 29 prob = 0.980576

Test Multinomial-gaus chi2 = 25.2918 ndf 29 prob = 0.66302

Exponential 			ROOT::Math::Random	Time = 40.302 	40	(ns/call)
Exponential 			TRandom           	Time = 45.1679 	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 Exponential chi2 = 166.678 ndf 177 prob = 0.69988 		 igood = 3

Circle 				ROOT::Math::Random	Time = 43.9892 	50	(ns/call)
Circle 				TRandom           	Time = 67.8899 	70	(ns/call)

Test Circle chi2 = 291.946 ndf 299 prob = 0.603889

Sphere 				ROOT::Math::Random	Time = 46.2382 	40	(ns/call)
Sphere 				TRandom           	Time = 32.119 	30	(ns/call)

Test Sphere-phi chi2 = 317.822 ndf 299 prob = 0.217336

Test Sphere-theta chi2 = 304.665 ndf 299 prob = 0.398418