This pull request implements fast generation of arbitrary dicrete distributions using condensed tables method. Generation speed is limited by generation of Word32s.
Wang, J.; Tsang, W. W.; G. Marsaglia (2004), Fast Generation of Discrete Random Variables, /Journal of statistical Software, American Statistical Association/, vol. 11(i03). http://ideas.repec.org/a/jss/jstsof/11i03.html
This pull request implements fast generation of arbitrary dicrete distributions using condensed tables method. Generation speed is limited by generation of Word32s.
Wang, J.; Tsang, W. W.; G. Marsaglia (2004), Fast Generation of Discrete Random Variables, /Journal of statistical Software, American Statistical Association/, vol. 11(i03). http://ideas.repec.org/a/jss/jstsof/11i03.html