commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [06/10] commons-rng git commit: RNG-37: Javadoc
Date Wed, 11 Oct 2017 08:45:33 GMT
RNG-37: Javadoc


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/2baae6cf
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/2baae6cf
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/2baae6cf

Branch: refs/heads/master
Commit: 2baae6cf4c3cd3673232530b0fbb71d6e31e48b3
Parents: 77a3d8b
Author: Olga Kirillova <olga@revunit.com>
Authored: Tue Oct 10 15:53:33 2017 -0700
Committer: Olga Kirillova <olga@revunit.com>
Committed: Tue Oct 10 16:06:54 2017 -0700

----------------------------------------------------------------------
 .../sampling/distribution/ZigguratGaussianSampler.java    | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/2baae6cf/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/ZigguratGaussianSampler.java
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/ZigguratGaussianSampler.java
b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/ZigguratGaussianSampler.java
index 7640f36..a4830c6 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/ZigguratGaussianSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/ZigguratGaussianSampler.java
@@ -44,15 +44,11 @@ public class ZigguratGaussianSampler
      * the rightmost 8 bits of j. If j < k_i return x = j * w_i.
      */
 
-    /* @param KN - an auxiliary table of integers, k_i = 2^32*(x_{i-1}/x_i) */
+    /** An auxiliary table of integers, k_i = 2^32*(x_{i-1}/x_i) */
     private static final int[] KN = new int[128];
-    /* @param WN - table of doubles, w_i = x_i/2^32 */
+    /** The table of doubles, w_i = x_i/2^32 */
     private static final double[] WN = new double[128];
-    /**
-     * This is a Javadoc. @param FN - the function values table
-     * (normalized gaussian in this implementation)
-     * f_i(x_i) = exp(-x_i^2/2)
-     */
+    /** The function values table (normalized gaussian in this implementation) f_i(x_i) =
exp(-x_i^2/2) */
     private static final double[] FN = new double[128];
 
     /**


Mime
View raw message