commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [20/50] commons-rng git commit: Javadoc.
Date Tue, 29 Nov 2016 11:32:31 GMT
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/db710d44
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/db710d44
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/db710d44

Branch: refs/heads/1.0-release
Commit: db710d4400a425fb1b9733ed8632e8bc6050c9ce
Parents: 954a8f2
Author: Gilles <erans@apache.org>
Authored: Fri Nov 25 11:34:28 2016 +0100
Committer: Gilles <erans@apache.org>
Committed: Fri Nov 25 11:34:28 2016 +0100

----------------------------------------------------------------------
 .../rng/examples/integration/ComputePi.java     |  2 +-
 .../rng/examples/stress/RandomStressTester.java | 26 +++++++++-----------
 2 files changed, 13 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/db710d44/commons-rng-examples/src/main/java/org/apache/commons/rng/examples/integration/ComputePi.java
----------------------------------------------------------------------
diff --git a/commons-rng-examples/src/main/java/org/apache/commons/rng/examples/integration/ComputePi.java
b/commons-rng-examples/src/main/java/org/apache/commons/rng/examples/integration/ComputePi.java
index ed3c383..03c8edc 100644
--- a/commons-rng-examples/src/main/java/org/apache/commons/rng/examples/integration/ComputePi.java
+++ b/commons-rng-examples/src/main/java/org/apache/commons/rng/examples/integration/ComputePi.java
@@ -29,7 +29,7 @@ import org.apache.commons.rng.simple.RandomSource;
  * Hence, the probability is \( \frac{\pi}{4} \).
  *
  * The Monte Carlo simulation will produce \( N \) points.
- * Defining \( N_c \) as the number of point that satisfy \( x^2 + y^2 <= 1 \),
+ * Defining \( N_c \) as the number of point that satisfy \( x^2 + y^2 \le 1 \),
  * we will have \( \frac{N_c}{N} \approx \frac{\pi}{4} \).
  */
 public class ComputePi extends MonteCarloIntegration {

http://git-wip-us.apache.org/repos/asf/commons-rng/blob/db710d44/commons-rng-examples/src/main/java/org/apache/commons/rng/examples/stress/RandomStressTester.java
----------------------------------------------------------------------
diff --git a/commons-rng-examples/src/main/java/org/apache/commons/rng/examples/stress/RandomStressTester.java
b/commons-rng-examples/src/main/java/org/apache/commons/rng/examples/stress/RandomStressTester.java
index 696f24f..a65eb6a 100644
--- a/commons-rng-examples/src/main/java/org/apache/commons/rng/examples/stress/RandomStressTester.java
+++ b/commons-rng-examples/src/main/java/org/apache/commons/rng/examples/stress/RandomStressTester.java
@@ -37,20 +37,18 @@ import org.apache.commons.rng.UniformRandomProvider;
  * program that reads {@code int} values from its standard input and
  * writes an analysis report to standard output.
  *
- * <p>
- *  The <a href="http://www.phy.duke.edu/~rgb/General/dieharder.php">
- *  "dieharder"</a> test suite is such a software.
- *  <br>
- *  Example of command line, assuming that "examples.jar" specifies this
- *  class as the "main" class (see {@link #main(String[]) main} method):
- *  <pre><code>
- *   $ java -jar examples.jar \
- *     report/dh_ \
- *     4 \
- *     org.apache.commons.rng.examples.stress.GeneratorsList \
- *     /usr/bin/dieharder -a -g 200 -Y 1 -k 2
- *  </code></pre>
- * </p>
+ * The <a href="http://www.phy.duke.edu/~rgb/General/dieharder.php">
+ * "dieharder"</a> test suite is such a software.
+ *
+ * Example of command line, assuming that "examples.jar" specifies this
+ * class as the "main" class (see {@link #main(String[]) main} method):
+ * <pre><code>
+ *  $ java -jar examples.jar \
+ *    report/dh_ \
+ *    4 \
+ *    org.apache.commons.rng.examples.stress.GeneratorsList \
+ *    /usr/bin/dieharder -a -g 200 -Y 1 -k 2
+ * </code></pre>
  */
 public class RandomStressTester {
     /** Comment prefix. */


Mime
View raw message