Execution Time20.63s

Test: mathmore-testRandomDist (Passed)
Build: master-x86_64-mac1013-clang100 (macphsft16.dyndns.cern.ch) on 2019-11-14 00:49:58

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

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

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

Test Flat ROOT-GSL chi2 = 937.45 ndf 999 prob = 0.917938

Poisson - mu = 25		ROOT::Math::Random	Time = 805.062 	790	(ns/call)
Poisson - mu = 25		TRandom           	Time = 544.326 	460	(ns/call)
Poisson - mu = 25		UnuRan            	Time = 188.571 	180	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


Test Poisson ROOT-GSL chi2 = 40.0791 ndf 44 prob = 0.640349 		 igood = 1

Test Poisson ROOT-UNR chi2 = 49.418 ndf 43 prob = 0.232244

Gaussian - mu,sigma = 25 , 5	ROOT::Math::Random	Time = 287.02 	60	(ns/call)
Gaussian - mu,sigma = 25 , 5	TRandom           	Time = 191.763 	40	(ns/call)
Gaussian - mu,sigma = 25 , 5	UnuRan            	Time = 351.283 	80	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h2 with less than 1 event.


Test Gaussian ROOT-GSL chi2 = 43.0811 ndf 49 prob = 0.710799 		 igood = 2

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


Landau 				ROOT::Math::Random	Time = 358.174 	80	(ns/call)
Landau 				TRandom           	Time = 141.998 	30	(ns/call)

Test Landau chi2 = 305.031 ndf 299 prob = 0.392733

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

Test Breit-Wigner chi2 = 58.2039 ndf 49 prob = 0.172691

Binomial - ntot,p = 100 , 0.1	ROOT::Math::Random	Time = 58.0401 	10	(ns/call)
Binomial - ntot,p = 100 , 0.1	TRandom           	Time = 1496.41 	1170	(ns/call)
Binomial - ntot,p = 100 , 0.1	UnuRan            	Time = 575.552 	570	(ns/call)
Info in <TH1D::Chi2TestX>: There is a bin in h1 with less than 1 event.


Test Binomial ROOT-GSL chi2 = 1.99991e+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 = 10343.5 	10200	(ns/call)
Multi-Poisson - nb, ntot = 30 , 10000	ROOT::Math::Random	Time = 36013.3 	35200	(ns/call)

Test Multinomial-Poisson chi2 = 22.0685 ndf 29 prob = 0.817342

Test Multinomial-gaus chi2 = 23.8545 ndf 29 prob = 0.736073

Exponential 			ROOT::Math::Random	Time = 112.218 	100	(ns/call)
Exponential 			TRandom           	Time = 48.4638 	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 = 183.17 ndf 187 prob = 0.565482 		 igood = 3

Circle 				ROOT::Math::Random	Time = 194.378 	200	(ns/call)
Circle 				TRandom           	Time = 74.085 	70	(ns/call)

Test Circle chi2 = 305.681 ndf 299 prob = 0.382694

Sphere 				ROOT::Math::Random	Time = 190.341 	190	(ns/call)
Sphere 				TRandom           	Time = 71.79 	70	(ns/call)

Test Sphere-phi chi2 = 323.249 ndf 299 prob = 0.160327

Test Sphere-theta chi2 = 260.415 ndf 299 prob = 0.94779