This file is indexed.

/usr/share/doc/libghc-random-fu-doc/html/Data-Random-Distribution-Gamma.html is in libghc-random-fu-doc 0.2.7.0-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Data.Random.Distribution.Gamma</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Data-Random-Distribution-Gamma.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Random-Distribution-Gamma.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">random-fu-0.2.7.0: Random number generation</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Data.Random.Distribution.Gamma</p></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:Gamma">Gamma</a> a = <a href="#v:Gamma">Gamma</a> a a</li><li class="src short"><a href="#v:gamma">gamma</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Gamma.html#t:Gamma">Gamma</a> a =&gt; a -&gt; a -&gt; <a href="Data-Random-RVar.html#t:RVar">RVar</a> a</li><li class="src short"><a href="#v:gammaT">gammaT</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Gamma.html#t:Gamma">Gamma</a> a =&gt; a -&gt; a -&gt; <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m a</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:Erlang">Erlang</a> a b = <a href="#v:Erlang">Erlang</a> a</li><li class="src short"><a href="#v:erlang">erlang</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Gamma.html#t:Erlang">Erlang</a> a) b =&gt; a -&gt; <a href="Data-Random-RVar.html#t:RVar">RVar</a> b</li><li class="src short"><a href="#v:erlangT">erlangT</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Gamma.html#t:Erlang">Erlang</a> a) b =&gt; a -&gt; <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m b</li><li class="src short"><a href="#v:mtGamma">mtGamma</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Numeric.html#t:Floating">Floating</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> a, <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Uniform.html#t:StdUniform">StdUniform</a> a, <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Normal.html#t:Normal">Normal</a> a) =&gt; a -&gt; a -&gt; <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Gamma" class="def">Gamma</a> a <a href="src/Data-Random-Distribution-Gamma.html#Gamma" class="link">Source</a> <a href="#t:Gamma" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Gamma" class="def">Gamma</a> a a</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Gamma" class="caption collapser" onclick="toggleSection('i:Gamma')">Instances</p><div id="section.i:Gamma" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Gamma:CDF:1" class="instance expander" onclick="toggleSection('i:id:Gamma:CDF:1')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Real">Real</a> a, <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Gamma.html#t:Gamma">Gamma</a> a) =&gt; <a href="Data-Random-Distribution.html#t:CDF">CDF</a> <a href="Data-Random-Distribution-Gamma.html#t:Gamma">Gamma</a> a</span> <a href="src/Data-Random-Distribution-Gamma.html#line-82" class="link">Source</a> <a href="#t:Gamma" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Gamma:CDF:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:cdf">cdf</a> :: <a href="Data-Random-Distribution-Gamma.html#t:Gamma">Gamma</a> a -&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Data-Random-Distribution.html#cdf" class="link">Source</a> <a href="#v:cdf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Gamma:Distribution:2" class="instance expander" onclick="toggleSection('i:id:Gamma:Distribution:2')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Numeric.html#t:Floating">Floating</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> a, <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Normal.html#t:Normal">Normal</a> a, <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Uniform.html#t:StdUniform">StdUniform</a> a) =&gt; <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Gamma.html#t:Gamma">Gamma</a> a</span> <a href="src/Data-Random-Distribution-Gamma.html#line-77" class="link">Source</a> <a href="#t:Gamma" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Gamma:Distribution:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:rvar">rvar</a> :: <a href="Data-Random-Distribution-Gamma.html#t:Gamma">Gamma</a> a -&gt; <a href="Data-Random-RVar.html#t:RVar">RVar</a> a <a href="src/Data-Random-Distribution.html#rvar" class="link">Source</a> <a href="#v:rvar" class="selflink">#</a></p><p class="src"><a href="#v:rvarT">rvarT</a> :: <a href="Data-Random-Distribution-Gamma.html#t:Gamma">Gamma</a> a -&gt; <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n a <a href="src/Data-Random-Distribution.html#rvarT" class="link">Source</a> <a href="#v:rvarT" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:gamma" class="def">gamma</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Gamma.html#t:Gamma">Gamma</a> a =&gt; a -&gt; a -&gt; <a href="Data-Random-RVar.html#t:RVar">RVar</a> a <a href="src/Data-Random-Distribution-Gamma.html#gamma" class="link">Source</a> <a href="#v:gamma" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:gammaT" class="def">gammaT</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Gamma.html#t:Gamma">Gamma</a> a =&gt; a -&gt; a -&gt; <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m a <a href="src/Data-Random-Distribution-Gamma.html#gammaT" class="link">Source</a> <a href="#v:gammaT" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:Erlang" class="def">Erlang</a> a b <a href="src/Data-Random-Distribution-Gamma.html#Erlang" class="link">Source</a> <a href="#t:Erlang" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Erlang" class="def">Erlang</a> a</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Erlang" class="caption collapser" onclick="toggleSection('i:Erlang')">Instances</p><div id="section.i:Erlang" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Erlang:CDF:1" class="instance expander" onclick="toggleSection('i:id:Erlang:CDF:1')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integral">Integral</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Real">Real</a> b, <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Gamma.html#t:Erlang">Erlang</a> a) b) =&gt; <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Gamma.html#t:Erlang">Erlang</a> a) b</span> <a href="src/Data-Random-Distribution-Gamma.html#line-88" class="link">Source</a> <a href="#t:Erlang" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Erlang:CDF:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:cdf">cdf</a> :: <a href="Data-Random-Distribution-Gamma.html#t:Erlang">Erlang</a> a b -&gt; b -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Data-Random-Distribution.html#cdf" class="link">Source</a> <a href="#v:cdf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Erlang:Distribution:2" class="instance expander" onclick="toggleSection('i:id:Erlang:Distribution:2')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integral">Integral</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Numeric.html#t:Floating">Floating</a> b, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> b, <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Normal.html#t:Normal">Normal</a> b, <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Uniform.html#t:StdUniform">StdUniform</a> b) =&gt; <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Gamma.html#t:Erlang">Erlang</a> a) b</span> <a href="src/Data-Random-Distribution-Gamma.html#line-85" class="link">Source</a> <a href="#t:Erlang" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Erlang:Distribution:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:rvar">rvar</a> :: <a href="Data-Random-Distribution-Gamma.html#t:Erlang">Erlang</a> a b -&gt; <a href="Data-Random-RVar.html#t:RVar">RVar</a> b <a href="src/Data-Random-Distribution.html#rvar" class="link">Source</a> <a href="#v:rvar" class="selflink">#</a></p><p class="src"><a href="#v:rvarT">rvarT</a> :: <a href="Data-Random-Distribution-Gamma.html#t:Erlang">Erlang</a> a b -&gt; <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n b <a href="src/Data-Random-Distribution.html#rvarT" class="link">Source</a> <a href="#v:rvarT" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:erlang" class="def">erlang</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Gamma.html#t:Erlang">Erlang</a> a) b =&gt; a -&gt; <a href="Data-Random-RVar.html#t:RVar">RVar</a> b <a href="src/Data-Random-Distribution-Gamma.html#erlang" class="link">Source</a> <a href="#v:erlang" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:erlangT" class="def">erlangT</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Gamma.html#t:Erlang">Erlang</a> a) b =&gt; a -&gt; <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m b <a href="src/Data-Random-Distribution-Gamma.html#erlangT" class="link">Source</a> <a href="#v:erlangT" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mtGamma" class="def">mtGamma</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Numeric.html#t:Floating">Floating</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> a, <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Uniform.html#t:StdUniform">StdUniform</a> a, <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> <a href="Data-Random-Distribution-Normal.html#t:Normal">Normal</a> a) =&gt; a -&gt; a -&gt; <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m a <a href="src/Data-Random-Distribution-Gamma.html#mtGamma" class="link">Source</a> <a href="#v:mtGamma" class="selflink">#</a></p><div class="doc"><p>derived from  Marsaglia &amp; Tang, &quot;A Simple Method for generating gamma
 variables&quot;, ACM Transactions on Mathematical Software, Vol 26, No 3 (2000), p363-372.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>