/usr/share/doc/libghc-random-fu-doc/html/Data-Random-Distribution-Bernoulli.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 6 7 8 9 10 | <!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.Bernoulli</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-Bernoulli.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Random-Distribution-Bernoulli.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.Bernoulli</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"><a href="#v:bernoulli">bernoulli</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) a => b -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> a</li><li class="src short"><a href="#v:bernoulliT">bernoulliT</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) a => b -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m a</li><li class="src short"><a href="#v:boolBernoulli">boolBernoulli</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Fractional">Fractional</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 -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:boolBernoulliCDF">boolBernoulliCDF</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Real">Real</a> a => a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:generalBernoulli">generalBernoulli</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => a -> a -> b -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m a</li><li class="src short"><a href="#v:generalBernoulliCDF">generalBernoulliCDF</a> :: <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => (a -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -> a -> a -> b -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:Bernoulli">Bernoulli</a> b a = <a href="#v:Bernoulli">Bernoulli</a> b</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:bernoulli" class="def">bernoulli</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) a => b -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> a <a href="src/Data-Random-Distribution-Bernoulli.html#bernoulli" class="link">Source</a> <a href="#v:bernoulli" class="selflink">#</a></p><div class="doc"><p>Generate a Bernoulli variate with the given probability. For <code>Bool</code> results,
<code>bernoulli p</code> will return True (p*100)% of the time and False otherwise.
For numerical types, True is replaced by 1 and False by 0.</p></div></div><div class="top"><p class="src"><a id="v:bernoulliT" class="def">bernoulliT</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) a => b -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m a <a href="src/Data-Random-Distribution-Bernoulli.html#bernoulliT" class="link">Source</a> <a href="#v:bernoulliT" class="selflink">#</a></p><div class="doc"><p>Generate a Bernoulli process with the given probability. For <code>Bool</code> results,
<code>bernoulli p</code> will return True (p*100)% of the time and False otherwise.
For numerical types, True is replaced by 1 and False by 0.</p></div></div><div class="top"><p class="src"><a id="v:boolBernoulli" class="def">boolBernoulli</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Fractional">Fractional</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 -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-Random-Distribution-Bernoulli.html#boolBernoulli" class="link">Source</a> <a href="#v:boolBernoulli" class="selflink">#</a></p><div class="doc"><p>A random variable whose value is <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code> the given fraction of the time
and <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a></code> the rest.</p></div></div><div class="top"><p class="src"><a id="v:boolBernoulliCDF" class="def">boolBernoulliCDF</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Real">Real</a> a => a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -> <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-Bernoulli.html#boolBernoulliCDF" class="link">Source</a> <a href="#v:boolBernoulliCDF" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:generalBernoulli" class="def">generalBernoulli</a> :: <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => a -> a -> b -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> m a <a href="src/Data-Random-Distribution-Bernoulli.html#generalBernoulli" class="link">Source</a> <a href="#v:generalBernoulli" class="selflink">#</a></p><div class="doc"><p><code>generalBernoulli t f p</code> generates a random variable whose value is <code>t</code>
with probability <code>p</code> and <code>f</code> with probability <code>1-p</code>.</p></div></div><div class="top"><p class="src"><a id="v:generalBernoulliCDF" class="def">generalBernoulliCDF</a> :: <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => (a -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>) -> a -> a -> b -> a -> <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-Bernoulli.html#generalBernoulliCDF" class="link">Source</a> <a href="#v:generalBernoulliCDF" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:Bernoulli" class="def">Bernoulli</a> b a <a href="src/Data-Random-Distribution-Bernoulli.html#Bernoulli" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Bernoulli" class="def">Bernoulli</a> b</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Bernoulli" class="caption collapser" onclick="toggleSection('i:Bernoulli')">Instances</p><div id="section.i:Bernoulli" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:CDF:1" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:1')"></span> (<a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</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:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-62" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli: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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -> <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:Bernoulli:CDF:2" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:2')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word64">Word64</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:2" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word64">Word64</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word64">Word64</a> -> <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:Bernoulli:CDF:3" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:3')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:3" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <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:Bernoulli:CDF:4" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:4')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word16">Word16</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:4" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word16">Word16</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word16">Word16</a> -> <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:Bernoulli:CDF:5" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:5')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:5" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -> <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:Bernoulli:CDF:6" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:6')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word">Word</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:6" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word">Word</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word">Word</a> -> <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:Bernoulli:CDF:7" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:7')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int64">Int64</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:7" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int64">Int64</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int64">Int64</a> -> <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:Bernoulli:CDF:8" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:8')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int32">Int32</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:8" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int32">Int32</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int32">Int32</a> -> <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:Bernoulli:CDF:9" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:9')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int16">Int16</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:9" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int16">Int16</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int16">Int16</a> -> <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:Bernoulli:CDF:10" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:10')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int8">Int8</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:10" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int8">Int8</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int8">Int8</a> -> <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:Bernoulli:CDF:11" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:11')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:11" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <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:Bernoulli:CDF:12" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:12')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integer">Integer</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:12" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integer">Integer</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integer">Integer</a> -> <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:Bernoulli:CDF:13" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:13')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-78" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:13" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <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:Bernoulli:CDF:14" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:14')"></span> <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Float">Float</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-78" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:14" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Float">Float</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Float">Float</a> -> <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:Bernoulli:Distribution:15" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:15')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Fractional">Fractional</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-Uniform.html#t:StdUniform">StdUniform</a> b) => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-58" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:15" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:16" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:16')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word64">Word64</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:16" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word64">Word64</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word64">Word64</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word64">Word64</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word64">Word64</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:17" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:17')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:17" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word32">Word32</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:18" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:18')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word16">Word16</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:18" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word16">Word16</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word16">Word16</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word16">Word16</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word16">Word16</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:19" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:19')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:19" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word8">Word8</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:20" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:20')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word">Word</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:20" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word">Word</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word">Word</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word">Word</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Word.html#t:Word">Word</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:21" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:21')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int64">Int64</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:21" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int64">Int64</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int64">Int64</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int64">Int64</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int64">Int64</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:22" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:22')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int32">Int32</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:22" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int32">Int32</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int32">Int32</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int32">Int32</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int32">Int32</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:23" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:23')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int16">Int16</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:23" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int16">Int16</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int16">Int16</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int16">Int16</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int16">Int16</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:24" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:24')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int8">Int8</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:24" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int8">Int8</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int8">Int8</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int8">Int8</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int8">Int8</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:25" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:25')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:25" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:26" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:26')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integer">Integer</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-67" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:26" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integer">Integer</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integer">Integer</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integer">Integer</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integer">Integer</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:27" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:27')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-78" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:27" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <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#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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <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#rvarT" class="link">Source</a> <a href="#v:rvarT" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:28" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:28')"></span> <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Float">Float</a></span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-78" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:28" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Float">Float</a> -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Float">Float</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b0 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Float">Float</a> -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Float">Float</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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:CDF:29" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:29')"></span> (<a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:RealFloat">RealFloat</a> a) => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Complex.html#t:Complex">Complex</a> a)</span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-101" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:29" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Complex.html#t:Complex">Complex</a> a) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Complex.html#t:Complex">Complex</a> a -> <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:Bernoulli:CDF:30" class="instance expander" onclick="toggleSection('i:id:Bernoulli:CDF:30')"></span> (<a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integral">Integral</a> a) => <a href="Data-Random-Distribution.html#t:CDF">CDF</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ratio.html#t:Ratio">Ratio</a> a)</span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-93" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:CDF:30" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ratio.html#t:Ratio">Ratio</a> a) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ratio.html#t:Ratio">Ratio</a> a -> <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:Bernoulli:Distribution:31" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:31')"></span> (<a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:RealFloat">RealFloat</a> a) => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Complex.html#t:Complex">Complex</a> a)</span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-97" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:31" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Complex.html#t:Complex">Complex</a> a) -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Complex.html#t:Complex">Complex</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Complex.html#t:Complex">Complex</a> a) -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Complex.html#t:Complex">Complex</a> 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><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Bernoulli:Distribution:32" class="instance expander" onclick="toggleSection('i:id:Bernoulli:Distribution:32')"></span> (<a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Integral">Integral</a> a) => <a href="Data-Random-Distribution.html#t:Distribution">Distribution</a> (<a href="Data-Random-Distribution-Bernoulli.html#t:Bernoulli">Bernoulli</a> b) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ratio.html#t:Ratio">Ratio</a> a)</span> <a href="src/Data-Random-Distribution-Bernoulli.html#line-89" class="link">Source</a> <a href="#t:Bernoulli" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Bernoulli:Distribution:32" 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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ratio.html#t:Ratio">Ratio</a> a) -> <a href="Data-Random-RVar.html#t:RVar">RVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ratio.html#t:Ratio">Ratio</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-Bernoulli.html#t:Bernoulli">Bernoulli</a> b (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ratio.html#t:Ratio">Ratio</a> a) -> <a href="Data-Random-RVar.html#t:RVarT">RVarT</a> n (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ratio.html#t:Ratio">Ratio</a> 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></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>
|