Generate gamma and normal distribution in Java? Has anyone done this before?
<p>Has anyone generated Gamma or truncated normal distribution in Java before?  I don't think it is in the built-in package.</p>

<p>I have found this for Gamma: 
blog.javia.org/docs/Gamma.java</p>

<p>I just tried these 3:</p>

<ol>
<li><p>SSJ from University of Montreal 
<a href="http://www.iro.umontreal.ca/~simardr/ssj/indexe.html" rel="nofollow">http://www.iro.umontreal.ca/~simardr/ssj/indexe.html</a> </p></li>
<li><p>The JSC library 
<a href="http://www.jsc.nildram.co.uk/downloads/download.html" rel="nofollow">http://www.jsc.nildram.co.uk/downloads/download.html</a> </p></li>
<li><p>The eduni package 
<a href="http://www.icsa.inf.ed.ac.uk/research/groups/hase/simjava/distributions/" rel="nofollow">http://www.icsa.inf.ed.ac.uk/research/groups/hase/simjava/distributions/</a> </p></li>
</ol>

<p>None works, this is very frustrating.  Am I importing it wrong, or not typing the right command to use it?</p>
