commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1010778 [24/39] - in /websites/production/commons/content/proper/commons-rng: ./ commons-rng-client-api/ commons-rng-client-api/apidocs/ commons-rng-client-api/apidocs/org/apache/commons/rng/ commons-rng-client-api/apidocs/org/apache/commo...
Date Thu, 20 Apr 2017 11:33:54 GMT
Added: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/BoxMullerNormalizedGaussianSampler.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/BoxMullerNormalizedGaussianSampler.html (added)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/BoxMullerNormalizedGaussianSampler.html Thu Apr 20 11:33:45 2017
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>BoxMullerNormalizedGaussianSampler</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rng.sampling.distribution</a> &gt; <span class="el_class">BoxMullerNormalizedGaussianSampler</span></div><h1>BoxMullerNormalizedGaussianSampler</h
 1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 59</td><td class="ctr2">100%</td><td class="bar">0 of 2</td><td class=
 "ctr2">100%</td><td class="ctr1">0</td><td class="ctr2">4</td><td class="ctr1">0</td><td class="ctr2">15</td><td class="ctr1">0</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a1"><a href="BoxMullerNormalizedGaussianSampler.java.html#L45" class="el_method">sample()</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="40" alt="40"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">2</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">11</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="BoxMullerNormalizedGaussianSampler.java.html#L73" class="el_method">toString()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="36" height="10" title="12" alt="12"/></td><td cla
 ss="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a0"><a href="BoxMullerNormalizedGaussianSampler.java.html#L32" class="el_method">BoxMullerNormalizedGaussianSampler(UniformRandomProvider)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="21" height="10" title="7" alt="7"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i1">3</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/BoxMullerNormalizedGaussianSampler.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/BoxMullerNormalizedGaussianSampler.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/BoxMullerNormalizedGaussianSampler.java.html (added)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/BoxMullerNormalizedGaussianSampler.java.html Thu Apr 20 11:33:45 2017
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>BoxMullerNormalizedGaussianSampler.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.rng.sampling.distribution</a> &gt; <span clas
 s="el_source">BoxMullerNormalizedGaussianSampler.java</span></div><h1>BoxMullerNormalizedGaussianSampler.java</h1><pre class="source lang-java linenums">/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the &quot;License&quot;); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rng.sampling.distribution;
+
+import org.apache.commons.rng.UniformRandomProvider;
+
+/**
+ * &lt;a href=&quot;https://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform&quot;&gt;
+ * Box-Muller algorithm&lt;/a&gt; for sampling from Gaussian distribution with
+ * mean 0 and standard deviation 1.
+ *
+ * @since 1.1
+ */
+public class BoxMullerNormalizedGaussianSampler
+    extends SamplerBase
+    implements NormalizedGaussianSampler {
+    /** Next gaussian. */
+<span class="fc" id="L32">    private double nextGaussian = Double.NaN;</span>
+
+    /**
+     * @param rng Generator of uniformly distributed random numbers.
+     */
+    public BoxMullerNormalizedGaussianSampler(UniformRandomProvider rng) {
+<span class="fc" id="L38">        super(rng);</span>
+<span class="fc" id="L39">    }</span>
+
+    /** {@inheritDoc} */
+    @Override
+    public double sample() {
+        final double random;
+<span class="fc bfc" id="L45" title="All 2 branches covered.">        if (Double.isNaN(nextGaussian)) {</span>
+            // Generate a pair of Gaussian numbers.
+
+<span class="fc" id="L48">            final double x = nextDouble();</span>
+<span class="fc" id="L49">            final double y = nextDouble();</span>
+<span class="fc" id="L50">            final double alpha = 2 * Math.PI * x;</span>
+<span class="fc" id="L51">            final double r = Math.sqrt(-2 * Math.log(y));</span>
+
+            // Return the first element of the generated pair.
+<span class="fc" id="L54">            random = r * Math.cos(alpha);</span>
+
+            // Keep second element of the pair for next invocation.
+<span class="fc" id="L57">            nextGaussian = r * Math.sin(alpha);</span>
+<span class="fc" id="L58">        } else {</span>
+            // Use the second element of the pair (generated at the
+            // previous invocation).
+<span class="fc" id="L61">            random = nextGaussian;</span>
+
+            // Both elements of the pair have been used.
+<span class="fc" id="L64">            nextGaussian = Double.NaN;</span>
+        }
+
+<span class="fc" id="L67">        return random;</span>
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    public String toString() {
+<span class="fc" id="L73">        return &quot;Box-Muller normalized Gaussian deviate [&quot; + super.toString() + &quot;]&quot;;</span>
+    }
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/BoxMullerNormalizedGaussianSampler.java.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/GaussianSampler.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/GaussianSampler.html (added)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/GaussianSampler.html Thu Apr 20 11:33:45 2017
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>GaussianSampler</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rng.sampling.distribution</a> &gt; <span class="el_class">GaussianSampler</span></div><h1>GaussianSampler</h1><table class="coverage" cellspacing="0" id="coveragetab
 le"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 35</td><td class="ctr2">100%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">0</td><td class="ctr2">3<
 /td><td class="ctr1">0</td><td class="ctr2">7</td><td class="ctr1">0</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a2"><a href="GaussianSampler.java.html#L55" class="el_method">toString()</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="13" alt="13"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="GaussianSampler.java.html#L40" class="el_method">GaussianSampler(NormalizedGaussianSampler, double, double)</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="110" height="10" title="12" alt="12"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" 
 id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i0">5</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="GaussianSampler.java.html#L49" class="el_method">sample()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="92" height="10" title="10" alt="10"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/GaussianSampler.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/GaussianSampler.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/GaussianSampler.java.html (added)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/GaussianSampler.java.html Thu Apr 20 11:33:45 2017
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>GaussianSampler.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.rng.sampling.distribution</a> &gt; <span class="el_source">Gauss
 ianSampler.java</span></div><h1>GaussianSampler.java</h1><pre class="source lang-java linenums">/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the &quot;License&quot;); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rng.sampling.distribution;
+
+/**
+ * Sampling from a Gaussian distribution with given mean and
+ * standard deviation.
+ *
+ * @since 1.1
+ */
+public class GaussianSampler implements ContinuousSampler {
+    /** Mean. */
+    private final double mean;
+    /** standardDeviation. */
+    private final double standardDeviation;
+    /** Normalized Gaussian sampler. */
+    private final NormalizedGaussianSampler normalized;
+
+    /**
+     * @param normalized Generator of N(0,1) Gaussian distributed random numbers.
+     * @param mean Mean of the Gaussian distribution.
+     * @param standardDeviation Standard deviation of the Gaussian distribution.
+     */
+    public GaussianSampler(NormalizedGaussianSampler normalized,
+                           double mean,
+<span class="fc" id="L40">                           double standardDeviation) {</span>
+<span class="fc" id="L41">        this.normalized = normalized;</span>
+<span class="fc" id="L42">        this.mean = mean;</span>
+<span class="fc" id="L43">        this.standardDeviation = standardDeviation;</span>
+<span class="fc" id="L44">    }</span>
+
+    /** {@inheritDoc} */
+    @Override
+    public double sample() {
+<span class="fc" id="L49">        return standardDeviation * normalized.sample() + mean;</span>
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    public String toString() {
+<span class="fc" id="L55">        return &quot;Gaussian deviate [&quot; + normalized.toString() + &quot;]&quot;;</span>
+    }
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/GaussianSampler.java.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaLogNormalSampler.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaLogNormalSampler.html (added)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaLogNormalSampler.html Thu Apr 20 11:33:45 2017
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>MarsagliaLogNormalSampler</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rng.sampling.distribution</a> &gt; <span class="el_class">MarsagliaLogNormalSampler</span></div><h1>MarsagliaLogNormalSampler</h1><table class="coverage" c
 ellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 40</td><td class="ctr2">100%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="c
 tr1">0</td><td class="ctr2">3</td><td class="ctr1">0</td><td class="ctr2">7</td><td class="ctr1">0</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a0"><a href="MarsagliaLogNormalSampler.java.html#L45" class="el_method">MarsagliaLogNormalSampler(UniformRandomProvider, double, double)</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="16" alt="16"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">5</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="MarsagliaLogNormalSampler.java.html#L60" class="el_method">toString()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="97" height="10" title="13" alt="13"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n
 /a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="MarsagliaLogNormalSampler.java.html#L54" class="el_method">sample()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="82" height="10" title="11" alt="11"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaLogNormalSampler.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaLogNormalSampler.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaLogNormalSampler.java.html (added)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaLogNormalSampler.java.html Thu Apr 20 11:33:45 2017
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>MarsagliaLogNormalSampler.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.rng.sampling.distribution</a> &gt; <span class="el_sou
 rce">MarsagliaLogNormalSampler.java</span></div><h1>MarsagliaLogNormalSampler.java</h1><pre class="source lang-java linenums">/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the &quot;License&quot;); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rng.sampling.distribution;
+
+import org.apache.commons.rng.UniformRandomProvider;
+
+/**
+ * &lt;a href=&quot;https://en.wikipedia.org/wiki/Marsaglia_polar_method&quot;&gt;
+ * polar method&lt;/a&gt; for sampling from a Log normal distribution.
+ *
+ * @since 1.1
+ */
+public class MarsagliaLogNormalSampler
+    extends SamplerBase
+    implements ContinuousSampler {
+    /** Scale. */
+    private final double scale;
+    /** Shape. */
+    private final double shape;
+    /** Gaussian sampling. */
+    private final NormalizedGaussianSampler gaussian;
+
+    /**
+     * @param rng Generator of uniformly distributed random numbers.
+     * @param scale Scale of the Log normal distribution.
+     * @param shape Shape of the Log normal distribution.
+     */
+    public MarsagliaLogNormalSampler(UniformRandomProvider rng,
+                                     double scale,
+                                     double shape) {
+<span class="fc" id="L45">        super(null); // Not used.</span>
+<span class="fc" id="L46">        this.scale = scale;</span>
+<span class="fc" id="L47">        this.shape = shape;</span>
+<span class="fc" id="L48">        gaussian = new MarsagliaNormalizedGaussianSampler(rng);</span>
+<span class="fc" id="L49">    }</span>
+
+    /** {@inheritDoc} */
+    @Override
+    public double sample() {
+<span class="fc" id="L54">        return Math.exp(scale + shape * gaussian.sample());</span>
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    public String toString() {
+<span class="fc" id="L60">        return &quot;Marsaglia Log Normal [&quot; + gaussian.toString() + &quot;]&quot;;</span>
+    }
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaLogNormalSampler.java.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaNormalizedGaussianSampler.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaNormalizedGaussianSampler.html (added)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaNormalizedGaussianSampler.html Thu Apr 20 11:33:45 2017
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>MarsagliaNormalizedGaussianSampler</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rng.sampling.distribution</a> &gt; <span class="el_class">MarsagliaNormalizedGaussianSampler</span></div><h1>MarsagliaNormalizedGaussianSampler</h
 1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">1 of 79</td><td class="ctr2">99%</td><td class="bar">1 of 6</td><td class="
 ctr2">83%</td><td class="ctr1">1</td><td class="ctr2">6</td><td class="ctr1">1</td><td class="ctr2">16</td><td class="ctr1">0</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a1"><a href="MarsagliaNormalizedGaussianSampler.java.html#L46" class="el_method">sample()</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="2" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="118" height="10" title="59" alt="59"/></td><td class="ctr2" id="c2">98%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="20" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="100" height="10" title="5" alt="5"/></td><td class="ctr2" id="e0">83%</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">4</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i0">12</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="MarsagliaNormalizedGaussianSampler.java.html#L83" clas
 s="el_method">toString()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="24" height="10" title="12" alt="12"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a0"><a href="MarsagliaNormalizedGaussianSampler.java.html#L34" class="el_method">MarsagliaNormalizedGaussianSampler(UniformRandomProvider)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="14" height="10" title="7" alt="7"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i1">3</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr></tbody></table><di
 v class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaNormalizedGaussianSampler.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaNormalizedGaussianSampler.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaNormalizedGaussianSampler.java.html (added)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaNormalizedGaussianSampler.java.html Thu Apr 20 11:33:45 2017
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>MarsagliaNormalizedGaussianSampler.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.rng.sampling.distribution</a> &gt; <span clas
 s="el_source">MarsagliaNormalizedGaussianSampler.java</span></div><h1>MarsagliaNormalizedGaussianSampler.java</h1><pre class="source lang-java linenums">/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the &quot;License&quot;); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.rng.sampling.distribution;
+
+import org.apache.commons.rng.UniformRandomProvider;
+
+/**
+ * &lt;a href=&quot;https://en.wikipedia.org/wiki/Marsaglia_polar_method&quot;&gt;
+ * Marsaglia polar method&lt;/a&gt; for sampling from a Gaussian distribution
+ * with mean 0 and standard deviation 1.
+ * This is a variation of the algorithm implemented in
+ * {@link BoxMullerNormalizedGaussianSampler}.
+ *
+ * @since 1.1
+ */
+public class MarsagliaNormalizedGaussianSampler
+    extends SamplerBase
+    implements NormalizedGaussianSampler {
+    /** Next gaussian. */
+<span class="fc" id="L34">    private double nextGaussian = Double.NaN;</span>
+
+    /**
+     * @param rng Generator of uniformly distributed random numbers.
+     */
+    public MarsagliaNormalizedGaussianSampler(UniformRandomProvider rng) {
+<span class="fc" id="L40">        super(rng);</span>
+<span class="fc" id="L41">    }</span>
+
+    /** {@inheritDoc} */
+    @Override
+    public double sample() {
+<span class="fc bfc" id="L46" title="All 2 branches covered.">        if (Double.isNaN(nextGaussian)) {</span>
+            // Rejection scheme for selecting a pair that lies within the unit circle.
+            SAMPLE: while (true) {
+                // Generate a pair of numbers within [-1 , 1).
+<span class="fc" id="L50">                final double x = 2 * nextDouble() - 1;</span>
+<span class="fc" id="L51">                final double y = 2 * nextDouble() - 1;</span>
+<span class="fc" id="L52">                final double r2 = x * x + y * y;</span>
+
+<span class="pc bpc" id="L54" title="1 of 4 branches missed.">                if (r2 &gt; 1 || r2 == 0) {</span>
+                    // Pair is not within the unit circle: Generate another one.
+<span class="nc" id="L56">                    continue SAMPLE;</span>
+                }
+
+                // Pair (x, y) is within unit circle.
+<span class="fc" id="L60">                final double alpha = Math.sqrt(-2 * Math.log(r2) / r2);</span>
+
+                // Keep second element of the pair for next invocation.
+<span class="fc" id="L63">                nextGaussian = alpha * y;</span>
+
+                // Return the first element of the generated pair.
+<span class="fc" id="L66">                return alpha * x;</span>
+            }
+        } else {
+            // Use the second element of the pair (generated at the
+            // previous invocation).
+<span class="fc" id="L71">            final double r = nextGaussian;</span>
+
+            // Both elements of the pair have been used.
+<span class="fc" id="L74">            nextGaussian = Double.NaN;</span>
+
+<span class="fc" id="L76">            return r;</span>
+        }
+    }
+
+    /** {@inheritDoc} */
+    @Override
+    public String toString() {
+<span class="fc" id="L83">        return &quot;Box-Muller (with rejection) normalized Gaussian deviate [&quot; + super.toString() + &quot;]&quot;;</span>
+    }
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/MarsagliaNormalizedGaussianSampler.java.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/PoissonSampler.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/PoissonSampler.html (original)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/PoissonSampler.html Thu Apr 20 11:33:45 2017
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>PoissonSampler</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rng.sampling.distribution</a> &gt; <span class="el_class">PoissonSampler</span></div><h1>PoissonSampler</h1><table class="coverage" cellspacing="0" id="coveragetable"
 ><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">17 of 413</td><td class="ctr2">96%</td><td class="bar">4 of 34</td><td class="ctr2">88%</td><td class="ctr1">4</td><td class="ctr2">22<
 /td><td class="ctr1">2</td><td class="ctr2">75</td><td class="ctr1">0</td><td class="ctr2">5</td></tr></tfoot><tbody><tr><td id="a2"><a href="PoissonSampler.java.html#L60" class="el_method">PoissonSampler(UniformRandomProvider, double)</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="5" height="10" title="14" alt="14"/><img src="../.resources/greenbar.gif" width="14" height="10" title="40" alt="40"/></td><td class="ctr2" id="c4">74%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="4" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="12" height="10" title="3" alt="3"/></td><td class="ctr2" id="e1">75%</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">3</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i1">9</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="PoissonSampler.java.html#L91" class="el_method">nextPoisson(double)</a></td><td class="bar" id=
 "b1"><img src="../.resources/redbar.gif" width="1" height="10" title="3" alt="3"/><img src="../.resources/greenbar.gif" width="118" height="10" title="331" alt="331"/></td><td class="ctr2" id="c3">99%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="12" height="10" title="3" alt="3"/><img src="../.resources/greenbar.gif" width="108" height="10" title="27" alt="27"/></td><td class="ctr2" id="e0">90%</td><td class="ctr1" id="f0">3</td><td class="ctr2" id="g0">16</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i0">63</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a4"><a href="PoissonSampler.java.html#L83" class="el_method">toString()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="4" height="10" title="12" alt="12"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id=
 "h2">0</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a3"><a href="PoissonSampler.java.html#L77" class="el_method">sample()</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="2" height="10" title="8" alt="8"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a0"><a href="PoissonSampler.java.html#L181" class="el_method">factorialLog(int)</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="1" height="10" title="5" alt="5"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr
 2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>PoissonSampler</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <a href="index.html" class="el_package">org.apache.commons.rng.sampling.distribution</a> &gt; <span class="el_class">PoissonSampler</span></div><h1>PoissonSampler</h1><table class="coverage" cellspacing="0" id="coveragetable"
 ><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">17 of 397</td><td class="ctr2">96%</td><td class="bar">4 of 34</td><td class="ctr2">88%</td><td class="ctr1">4</td><td class="ctr2">22<
 /td><td class="ctr1">2</td><td class="ctr2">68</td><td class="ctr1">0</td><td class="ctr2">5</td></tr></tfoot><tbody><tr><td id="a2"><a href="PoissonSampler.java.html#L60" class="el_method">PoissonSampler(UniformRandomProvider, double)</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="5" height="10" title="14" alt="14"/><img src="../.resources/greenbar.gif" width="14" height="10" title="38" alt="38"/></td><td class="ctr2" id="c4">73%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="4" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="12" height="10" title="3" alt="3"/></td><td class="ctr2" id="e1">75%</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">3</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i1">9</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="PoissonSampler.java.html#L91" class="el_method">nextPoisson(double)</a></td><td class="bar" id=
 "b1"><img src="../.resources/redbar.gif" width="1" height="10" title="3" alt="3"/><img src="../.resources/greenbar.gif" width="118" height="10" title="317" alt="317"/></td><td class="ctr2" id="c3">99%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="12" height="10" title="3" alt="3"/><img src="../.resources/greenbar.gif" width="108" height="10" title="27" alt="27"/></td><td class="ctr2" id="e0">90%</td><td class="ctr1" id="f0">3</td><td class="ctr2" id="g0">16</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i0">56</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a4"><a href="PoissonSampler.java.html#L83" class="el_method">toString()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="4" height="10" title="12" alt="12"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id=
 "h2">0</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a3"><a href="PoissonSampler.java.html#L77" class="el_method">sample()</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="3" height="10" title="8" alt="8"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a0"><a href="PoissonSampler.java.html#L181" class="el_method">factorialLog(int)</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="1" height="10" title="5" alt="5"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr
 2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/PoissonSampler.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/PoissonSampler.java.html (original)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/PoissonSampler.java.html Thu Apr 20 11:33:45 2017
@@ -46,7 +46,7 @@ public class PoissonSampler
     /** Exponential. */
     private final ContinuousSampler exponential;
     /** Gaussian. */
-    private final ContinuousSampler gaussian;
+    private final NormalizedGaussianSampler gaussian;
     /** {@code log(n!)}. */
     private final InternalUtils.FactorialLog factorialLog;
 
@@ -64,7 +64,7 @@ public class PoissonSampler
 
 <span class="fc" id="L65">        this.mean = mean;</span>
 
-<span class="fc" id="L67">        gaussian = new BoxMullerGaussianSampler(rng, 0, 1);</span>
+<span class="fc" id="L67">        gaussian = new MarsagliaNormalizedGaussianSampler(rng);</span>
 <span class="fc" id="L68">        exponential = new AhrensDieterExponentialSampler(rng, 1);</span>
 <span class="fc bfc" id="L69" title="All 2 branches covered.">        factorialLog = mean &lt; PIVOT ?</span>
             null : // Not used.
@@ -118,13 +118,13 @@ public class PoissonSampler
 <span class="fc" id="L118">            final double p2 = a2 / aSum;</span>
 <span class="fc" id="L119">            final double c1 = 1 / (8 * lambda);</span>
 
-<span class="fc" id="L121">            double x = 0;</span>
-<span class="fc" id="L122">            double y = 0;</span>
-<span class="fc" id="L123">            double v = 0;</span>
-<span class="fc" id="L124">            int a = 0;</span>
-<span class="fc" id="L125">            double t = 0;</span>
-<span class="fc" id="L126">            double qr = 0;</span>
-<span class="fc" id="L127">            double qa = 0;</span>
+            double x;
+            double y;
+            double v;
+            int a;
+            double t;
+            double qr;
+            double qa;
             while (true) {
 <span class="fc" id="L129">                final double u = nextDouble();</span>
 <span class="fc bfc" id="L130" title="All 2 branches covered.">                if (u &lt;= p1) {</span>

Modified: websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/index.html
==============================================================================
--- websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/index.html (original)
+++ websites/production/commons/content/proper/commons-rng/commons-rng-sampling/jacoco/org.apache.commons.rng.sampling.distribution/index.html Thu Apr 20 11:33:45 2017
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>org.apache.commons.rng.sampling.distribution</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.source.html" class="el_source">Source Files</a><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <span class="el_package">org.apache.commons.rng.sampling.distribution</span></div><h1>org.apache.commons.rng.samplin
 g.distribution</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick=
 "toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">92 of 1,942</td><td class="ctr2">95%</td><td class="bar">15 of 126</td><td class="ctr2">88%</td><td class="ctr1">16</td><td class="ctr2">126</td><td class="ctr1">12</td><td class="ctr2">323</td><td class="ctr1">2</td><td class="ctr2">63</td><td class="ctr1">0</td><td class="ctr2">16</td></tr></tfoot><tbody><tr><td id="a14"><a href="RejectionInversionZipfSampler.html" class="el_class">RejectionInversionZipfSampler</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="9" height="10" title="32" alt="32"/><img src="../.resources/greenbar.gif" width="57" height="10" title="199" alt="199"/></td><td class="ctr2" id="c13">86%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="17" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="45" height="10" title="13" alt="13"/></td><td class="ctr2" id="e7">72%</td><td class="ctr1" id="f0">5</td><td clas
 s="ctr2" id="g2">17</td><td class="ctr1" id="h0">5</td><td class="ctr2" id="i2">35</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k0">8</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr><tr><td id="a9"><a href="InternalUtils$FactorialLog.html" class="el_class">InternalUtils.FactorialLog</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="6" height="10" title="23" alt="23"/><img src="../.resources/greenbar.gif" width="22" height="10" title="77" alt="77"/></td><td class="ctr2" id="c15">77%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="17" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="31" height="10" title="9" alt="9"/></td><td class="ctr2" id="e8">64%</td><td class="ctr1" id="f1">4</td><td class="ctr2" id="g3">11</td><td class="ctr1" id="h1">2</td><td class="ctr2" id="i6">16</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k4">4</td><td class="ctr1" id="l1">0</td><td clas
 s="ctr2" id="m1">1</td></tr><tr><td id="a13"><a href="PoissonSampler.html" class="el_class">PoissonSampler</a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="4" height="10" title="17" alt="17"/><img src="../.resources/greenbar.gif" width="115" height="10" title="396" alt="396"/></td><td class="ctr2" id="c12">96%</td><td class="bar" id="d2"><img src="../.resources/redbar.gif" width="14" height="10" title="4" alt="4"/><img src="../.resources/greenbar.gif" width="105" height="10" title="30" alt="30"/></td><td class="ctr2" id="e5">88%</td><td class="ctr1" id="f2">4</td><td class="ctr2" id="g0">22</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i0">75</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k2">5</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m2">1</td></tr><tr><td id="a6"><a href="DiscreteUniformSampler.html" class="el_class">DiscreteUniformSampler</a></td><td class="bar" id="b3"><img src="../.resources/redbar.gif" width="4" heigh
 t="10" title="14" alt="14"/><img src="../.resources/greenbar.gif" width="16" height="10" title="56" alt="56"/></td><td class="ctr2" id="c14">80%</td><td class="bar" id="d3"><img src="../.resources/redbar.gif" width="3" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="24" height="10" title="7" alt="7"/></td><td class="ctr2" id="e6">88%</td><td class="ctr1" id="f3">1</td><td class="ctr2" id="g6">7</td><td class="ctr1" id="h3">1</td><td class="ctr2" id="i7">14</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k7">3</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m3">1</td></tr><tr><td id="a7"><a href="InternalGamma.html" class="el_class">InternalGamma</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="35" height="10" title="122" alt="122"/></td><td class="ctr2" id="c10">98%</td><td class="bar" id="d7"><img src="../.resources/greenbar.gif" width="7" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><t
 d class="ctr1" id="f4">1</td><td class="ctr2" id="g7">5</td><td class="ctr1" id="h4">1</td><td class="ctr2" id="i8">10</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k5">4</td><td class="ctr1" id="l4">0</td><td class="ctr2" id="m4">1</td></tr><tr><td id="a8"><a href="InternalUtils.html" class="el_class">InternalUtils</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="26" height="10" title="92" alt="92"/></td><td class="ctr2" id="c11">97%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td class="ctr1" id="f5">1</td><td class="ctr2" id="g10">3</td><td class="ctr1" id="h5">1</td><td class="ctr2" id="i15">3</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k8">3</td><td class="ctr1" id="l5">0</td><td class="ctr2" id="m5">1</td></tr><tr><td id="a4"><a href="ChengBetaSampler.html" class="el_class">ChengBetaSampler</a></td><td class="bar" id="b6"><img src="../.resources/greenbar.gif" width="92" height="10" title="319" alt="319"/></td>
 <td class="ctr2" id="c0">100%</td><td class="bar" id="d4"><img src="../.resources/greenbar.gif" width="84" height="10" title="24" alt="24"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g1">18</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i1">54</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k1">6</td><td class="ctr1" id="l6">0</td><td class="ctr2" id="m6">1</td></tr><tr><td id="a1"><a href="AhrensDieterMarsagliaTsangGammaSampler.html" class="el_class">AhrensDieterMarsagliaTsangGammaSampler</a></td><td class="bar" id="b7"><img src="../.resources/greenbar.gif" width="55" height="10" title="190" alt="190"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d5"><img src="../.resources/greenbar.gif" width="49" height="10" title="14" alt="14"/></td><td class="ctr2" id="e2">100%</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g4">10</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i3">34</td><td class="
 ctr1" id="j7">0</td><td class="ctr2" id="k9">3</td><td class="ctr1" id="l7">0</td><td class="ctr2" id="m7">1</td></tr><tr><td id="a0"><a href="AhrensDieterExponentialSampler.html" class="el_class">AhrensDieterExponentialSampler</a></td><td class="bar" id="b8"><img src="../.resources/greenbar.gif" width="37" height="10" title="128" alt="128"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d6"><img src="../.resources/greenbar.gif" width="35" height="10" title="10" alt="10"/></td><td class="ctr2" id="e3">100%</td><td class="ctr1" id="f8">0</td><td class="ctr2" id="g5">9</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i4">28</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k6">4</td><td class="ctr1" id="l8">0</td><td class="ctr2" id="m8">1</td></tr><tr><td id="a2"><a href="BoxMullerGaussianSampler.html" class="el_class">BoxMullerGaussianSampler</a></td><td class="bar" id="b9"><img src="../.resources/greenbar.gif" width="20" height="10" title="71" alt="71"/></t
 d><td class="ctr2" id="c3">100%</td><td class="bar" id="d8"><img src="../.resources/greenbar.gif" width="7" height="10" title="2" alt="2"/></td><td class="ctr2" id="e4">100%</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g9">4</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i5">17</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k10">3</td><td class="ctr1" id="l9">0</td><td class="ctr2" id="m9">1</td></tr><tr><td id="a3"><a href="BoxMullerLogNormalSampler.html" class="el_class">BoxMullerLogNormalSampler</a></td><td class="bar" id="b10"><img src="../.resources/greenbar.gif" width="12" height="10" title="42" alt="42"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d10"/><td class="ctr2" id="e10">n/a</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g11">3</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="i9">7</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k11">3</td><td class="ctr1" id="l10">0</td><td class="ctr2" id="m10">1
 </td></tr><tr><td id="a5"><a href="ContinuousUniformSampler.html" class="el_class">ContinuousUniformSampler</a></td><td class="bar" id="b11"><img src="../.resources/greenbar.gif" width="10" height="10" title="37" alt="37"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d11"/><td class="ctr2" id="e11">n/a</td><td class="ctr1" id="f11">0</td><td class="ctr2" id="g12">3</td><td class="ctr1" id="h11">0</td><td class="ctr2" id="i10">7</td><td class="ctr1" id="j11">0</td><td class="ctr2" id="k12">3</td><td class="ctr1" id="l11">0</td><td class="ctr2" id="m11">1</td></tr><tr><td id="a12"><a href="InverseTransformParetoSampler.html" class="el_class">InverseTransformParetoSampler</a></td><td class="bar" id="b12"><img src="../.resources/greenbar.gif" width="9" height="10" title="33" alt="33"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d12"/><td class="ctr2" id="e12">n/a</td><td class="ctr1" id="f12">0</td><td class="ctr2" id="g13">3</td><td class="ctr1" id="h12">0<
 /td><td class="ctr2" id="i12">6</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k13">3</td><td class="ctr1" id="l12">0</td><td class="ctr2" id="m12">1</td></tr><tr><td id="a15"><a href="SamplerBase.html" class="el_class">SamplerBase</a></td><td class="bar" id="b13"><img src="../.resources/greenbar.gif" width="8" height="10" title="30" alt="30"/></td><td class="ctr2" id="c7">100%</td><td class="bar" id="d13"/><td class="ctr2" id="e13">n/a</td><td class="ctr1" id="f13">0</td><td class="ctr2" id="g8">5</td><td class="ctr1" id="h13">0</td><td class="ctr2" id="i11">7</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k3">5</td><td class="ctr1" id="l13">0</td><td class="ctr2" id="m13">1</td></tr><tr><td id="a11"><a href="InverseTransformDiscreteSampler.html" class="el_class">InverseTransformDiscreteSampler</a></td><td class="bar" id="b14"><img src="../.resources/greenbar.gif" width="8" height="10" title="29" alt="29"/></td><td class="ctr2" id="c8">100%</td><td class="bar" i
 d="d14"/><td class="ctr2" id="e14">n/a</td><td class="ctr1" id="f14">0</td><td class="ctr2" id="g14">3</td><td class="ctr1" id="h14">0</td><td class="ctr2" id="i13">5</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k14">3</td><td class="ctr1" id="l14">0</td><td class="ctr2" id="m14">1</td></tr><tr><td id="a10"><a href="InverseTransformContinuousSampler.html" class="el_class">InverseTransformContinuousSampler</a></td><td class="bar" id="b15"><img src="../.resources/greenbar.gif" width="8" height="10" title="29" alt="29"/></td><td class="ctr2" id="c9">100%</td><td class="bar" id="d15"/><td class="ctr2" id="e15">n/a</td><td class="ctr1" id="f15">0</td><td class="ctr2" id="g15">3</td><td class="ctr1" id="h15">0</td><td class="ctr2" id="i14">5</td><td class="ctr1" id="j15">0</td><td class="ctr2" id="k15">3</td><td class="ctr1" id="l15">0</td><td class="ctr2" id="m15">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/j
 acoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>org.apache.commons.rng.sampling.distribution</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.source.html" class="el_source">Source Files</a><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons RNG Sampling</a> &gt; <span class="el_package">org.apache.commons.rng.sampling.distribution</span></div><h1>org.apache.commons.rng.samplin
 g.distribution</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick=
 "toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">93 of 2,135</td><td class="ctr2">96%</td><td class="bar">16 of 134</td><td class="ctr2">88%</td><td class="ctr1">17</td><td class="ctr2">142</td><td class="ctr1">13</td><td class="ctr2">361</td><td class="ctr1">2</td><td class="ctr2">75</td><td class="ctr1">0</td><td class="ctr2">20</td></tr></tfoot><tbody><tr><td id="a18"><a href="RejectionInversionZipfSampler.html" class="el_class">RejectionInversionZipfSampler</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="9" height="10" title="32" alt="32"/><img src="../.resources/greenbar.gif" width="60" height="10" title="199" alt="199"/></td><td class="ctr2" id="c17">86%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="17" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="45" height="10" title="13" alt="13"/></td><td class="ctr2" id="e9">72%</td><td class="ctr1" id="f0">5</td><td clas
 s="ctr2" id="g2">17</td><td class="ctr1" id="h0">5</td><td class="ctr2" id="i2">35</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k0">8</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr><tr><td id="a11"><a href="InternalUtils$FactorialLog.html" class="el_class">InternalUtils.FactorialLog</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="6" height="10" title="23" alt="23"/><img src="../.resources/greenbar.gif" width="23" height="10" title="77" alt="77"/></td><td class="ctr2" id="c19">77%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="17" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="31" height="10" title="9" alt="9"/></td><td class="ctr2" id="e10">64%</td><td class="ctr1" id="f1">4</td><td class="ctr2" id="g3">11</td><td class="ctr1" id="h1">2</td><td class="ctr2" id="i6">16</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k4">4</td><td class="ctr1" id="l1">0</td><td cl
 ass="ctr2" id="m1">1</td></tr><tr><td id="a17"><a href="PoissonSampler.html" class="el_class">PoissonSampler</a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="5" height="10" title="17" alt="17"/><img src="../.resources/greenbar.gif" width="114" height="10" title="380" alt="380"/></td><td class="ctr2" id="c16">96%</td><td class="bar" id="d2"><img src="../.resources/redbar.gif" width="14" height="10" title="4" alt="4"/><img src="../.resources/greenbar.gif" width="105" height="10" title="30" alt="30"/></td><td class="ctr2" id="e6">88%</td><td class="ctr1" id="f2">4</td><td class="ctr2" id="g0">22</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i0">68</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k2">5</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m2">1</td></tr><tr><td id="a7"><a href="DiscreteUniformSampler.html" class="el_class">DiscreteUniformSampler</a></td><td class="bar" id="b3"><img src="../.resources/redbar.gif" width="4" hei
 ght="10" title="14" alt="14"/><img src="../.resources/greenbar.gif" width="16" height="10" title="56" alt="56"/></td><td class="ctr2" id="c18">80%</td><td class="bar" id="d3"><img src="../.resources/redbar.gif" width="3" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="24" height="10" title="7" alt="7"/></td><td class="ctr2" id="e7">88%</td><td class="ctr1" id="f3">1</td><td class="ctr2" id="g6">7</td><td class="ctr1" id="h3">1</td><td class="ctr2" id="i9">14</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k7">3</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m3">1</td></tr><tr><td id="a9"><a href="InternalGamma.html" class="el_class">InternalGamma</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="36" height="10" title="122" alt="122"/></td><td class="ctr2" id="c14">98%</td><td class="bar" id="d8"><img src="../.resources/greenbar.gif" width="7" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td>
 <td class="ctr1" id="f4">1</td><td class="ctr2" id="g8">5</td><td class="ctr1" id="h4">1</td><td class="ctr2" id="i10">10</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k5">4</td><td class="ctr1" id="l4">0</td><td class="ctr2" id="m4">1</td></tr><tr><td id="a10"><a href="InternalUtils.html" class="el_class">InternalUtils</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="27" height="10" title="92" alt="92"/></td><td class="ctr2" id="c15">97%</td><td class="bar" id="d11"/><td class="ctr2" id="e11">n/a</td><td class="ctr1" id="f5">1</td><td class="ctr2" id="g12">3</td><td class="ctr1" id="h5">1</td><td class="ctr2" id="i19">3</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k8">3</td><td class="ctr1" id="l5">0</td><td class="ctr2" id="m5">1</td></tr><tr><td id="a16"><a href="MarsagliaNormalizedGaussianSampler.html" class="el_class">MarsagliaNormalizedGaussianSampler</a></td><td class="bar" id="b6"><img src="../.resources/greenbar.gif" width="2
 3" height="10" title="78" alt="78"/></td><td class="ctr2" id="c13">99%</td><td class="bar" id="d4"><img src="../.resources/redbar.gif" width="3" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="17" height="10" title="5" alt="5"/></td><td class="ctr2" id="e8">83%</td><td class="ctr1" id="f6">1</td><td class="ctr2" id="g7">6</td><td class="ctr1" id="h6">1</td><td class="ctr2" id="i7">16</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k9">3</td><td class="ctr1" id="l6">0</td><td class="ctr2" id="m6">1</td></tr><tr><td id="a5"><a href="ChengBetaSampler.html" class="el_class">ChengBetaSampler</a></td><td class="bar" id="b7"><img src="../.resources/greenbar.gif" width="96" height="10" title="319" alt="319"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d5"><img src="../.resources/greenbar.gif" width="84" height="10" title="24" alt="24"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g1">18</td><td 
 class="ctr1" id="h7">0</td><td class="ctr2" id="i1">54</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k1">6</td><td class="ctr1" id="l7">0</td><td class="ctr2" id="m7">1</td></tr><tr><td id="a1"><a href="AhrensDieterMarsagliaTsangGammaSampler.html" class="el_class">AhrensDieterMarsagliaTsangGammaSampler</a></td><td class="bar" id="b8"><img src="../.resources/greenbar.gif" width="56" height="10" title="188" alt="188"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d6"><img src="../.resources/greenbar.gif" width="49" height="10" title="14" alt="14"/></td><td class="ctr2" id="e2">100%</td><td class="ctr1" id="f8">0</td><td class="ctr2" id="g4">10</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i3">34</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k10">3</td><td class="ctr1" id="l8">0</td><td class="ctr2" id="m8">1</td></tr><tr><td id="a0"><a href="AhrensDieterExponentialSampler.html" class="el_class">AhrensDieterExponentialSampler</a></td><td class
 ="bar" id="b9"><img src="../.resources/greenbar.gif" width="38" height="10" title="128" alt="128"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d7"><img src="../.resources/greenbar.gif" width="35" height="10" title="10" alt="10"/></td><td class="ctr2" id="e3">100%</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g5">9</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i4">28</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k6">4</td><td class="ctr1" id="l9">0</td><td class="ctr2" id="m9">1</td></tr><tr><td id="a2"><a href="BoxMullerGaussianSampler.html" class="el_class">BoxMullerGaussianSampler</a></td><td class="bar" id="b10"><img src="../.resources/greenbar.gif" width="21" height="10" title="71" alt="71"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d9"><img src="../.resources/greenbar.gif" width="7" height="10" title="2" alt="2"/></td><td class="ctr2" id="e4">100%</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g10">4</td><t
 d class="ctr1" id="h10">0</td><td class="ctr2" id="i5">17</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k11">3</td><td class="ctr1" id="l10">0</td><td class="ctr2" id="m10">1</td></tr><tr><td id="a4"><a href="BoxMullerNormalizedGaussianSampler.html" class="el_class">BoxMullerNormalizedGaussianSampler</a></td><td class="bar" id="b11"><img src="../.resources/greenbar.gif" width="17" height="10" title="59" alt="59"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d10"><img src="../.resources/greenbar.gif" width="7" height="10" title="2" alt="2"/></td><td class="ctr2" id="e5">100%</td><td class="ctr1" id="f11">0</td><td class="ctr2" id="g11">4</td><td class="ctr1" id="h11">0</td><td class="ctr2" id="i8">15</td><td class="ctr1" id="j11">0</td><td class="ctr2" id="k12">3</td><td class="ctr1" id="l11">0</td><td class="ctr2" id="m11">1</td></tr><tr><td id="a15"><a href="MarsagliaLogNormalSampler.html" class="el_class">MarsagliaLogNormalSampler</a></td><td class="bar" i
 d="b12"><img src="../.resources/greenbar.gif" width="12" height="10" title="40" alt="40"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d12"/><td class="ctr2" id="e12">n/a</td><td class="ctr1" id="f12">0</td><td class="ctr2" id="g13">3</td><td class="ctr1" id="h12">0</td><td class="ctr2" id="i11">7</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k13">3</td><td class="ctr1" id="l12">0</td><td class="ctr2" id="m12">1</td></tr><tr><td id="a3"><a href="BoxMullerLogNormalSampler.html" class="el_class">BoxMullerLogNormalSampler</a></td><td class="bar" id="b13"><img src="../.resources/greenbar.gif" width="12" height="10" title="40" alt="40"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d13"/><td class="ctr2" id="e13">n/a</td><td class="ctr1" id="f13">0</td><td class="ctr2" id="g14">3</td><td class="ctr1" id="h13">0</td><td class="ctr2" id="i12">7</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k14">3</td><td class="ctr1" id="l13">0</td><td class
 ="ctr2" id="m13">1</td></tr><tr><td id="a6"><a href="ContinuousUniformSampler.html" class="el_class">ContinuousUniformSampler</a></td><td class="bar" id="b14"><img src="../.resources/greenbar.gif" width="11" height="10" title="37" alt="37"/></td><td class="ctr2" id="c7">100%</td><td class="bar" id="d14"/><td class="ctr2" id="e14">n/a</td><td class="ctr1" id="f14">0</td><td class="ctr2" id="g15">3</td><td class="ctr1" id="h14">0</td><td class="ctr2" id="i13">7</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k15">3</td><td class="ctr1" id="l14">0</td><td class="ctr2" id="m14">1</td></tr><tr><td id="a8"><a href="GaussianSampler.html" class="el_class">GaussianSampler</a></td><td class="bar" id="b15"><img src="../.resources/greenbar.gif" width="10" height="10" title="35" alt="35"/></td><td class="ctr2" id="c8">100%</td><td class="bar" id="d15"/><td class="ctr2" id="e15">n/a</td><td class="ctr1" id="f15">0</td><td class="ctr2" id="g16">3</td><td class="ctr1" id="h15">0</td><td cl
 ass="ctr2" id="i14">7</td><td class="ctr1" id="j15">0</td><td class="ctr2" id="k16">3</td><td class="ctr1" id="l15">0</td><td class="ctr2" id="m15">1</td></tr><tr><td id="a14"><a href="InverseTransformParetoSampler.html" class="el_class">InverseTransformParetoSampler</a></td><td class="bar" id="b16"><img src="../.resources/greenbar.gif" width="9" height="10" title="33" alt="33"/></td><td class="ctr2" id="c9">100%</td><td class="bar" id="d16"/><td class="ctr2" id="e16">n/a</td><td class="ctr1" id="f16">0</td><td class="ctr2" id="g17">3</td><td class="ctr1" id="h16">0</td><td class="ctr2" id="i16">6</td><td class="ctr1" id="j16">0</td><td class="ctr2" id="k17">3</td><td class="ctr1" id="l16">0</td><td class="ctr2" id="m16">1</td></tr><tr><td id="a19"><a href="SamplerBase.html" class="el_class">SamplerBase</a></td><td class="bar" id="b17"><img src="../.resources/greenbar.gif" width="9" height="10" title="30" alt="30"/></td><td class="ctr2" id="c10">100%</td><td class="bar" id="d17"/><t
 d class="ctr2" id="e17">n/a</td><td class="ctr1" id="f17">0</td><td class="ctr2" id="g9">5</td><td class="ctr1" id="h17">0</td><td class="ctr2" id="i15">7</td><td class="ctr1" id="j17">0</td><td class="ctr2" id="k3">5</td><td class="ctr1" id="l17">0</td><td class="ctr2" id="m17">1</td></tr><tr><td id="a13"><a href="InverseTransformDiscreteSampler.html" class="el_class">InverseTransformDiscreteSampler</a></td><td class="bar" id="b18"><img src="../.resources/greenbar.gif" width="8" height="10" title="29" alt="29"/></td><td class="ctr2" id="c11">100%</td><td class="bar" id="d18"/><td class="ctr2" id="e18">n/a</td><td class="ctr1" id="f18">0</td><td class="ctr2" id="g18">3</td><td class="ctr1" id="h18">0</td><td class="ctr2" id="i17">5</td><td class="ctr1" id="j18">0</td><td class="ctr2" id="k18">3</td><td class="ctr1" id="l18">0</td><td class="ctr2" id="m18">1</td></tr><tr><td id="a12"><a href="InverseTransformContinuousSampler.html" class="el_class">InverseTransformContinuousSampler</
 a></td><td class="bar" id="b19"><img src="../.resources/greenbar.gif" width="8" height="10" title="29" alt="29"/></td><td class="ctr2" id="c12">100%</td><td class="bar" id="d19"/><td class="ctr2" id="e19">n/a</td><td class="ctr1" id="f19">0</td><td class="ctr2" id="g19">3</td><td class="ctr1" id="h19">0</td><td class="ctr2" id="i18">5</td><td class="ctr1" id="j19">0</td><td class="ctr2" id="k19">3</td><td class="ctr1" id="l19">0</td><td class="ctr2" id="m19">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.5.201505241946</span></div></body></html>
\ No newline at end of file



Mime
View raw message