You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2016/05/29 21:01:47 UTC

[22/32] [math] Javadoc.

Javadoc.


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

Branch: refs/heads/develop
Commit: fc3e1eac676d7bb121073a231afb2ae429bd7806
Parents: c82bb1b
Author: Gilles <gi...@harfang.homelinux.org>
Authored: Sun May 29 16:31:15 2016 +0200
Committer: Gilles <gi...@harfang.homelinux.org>
Committed: Sun May 29 16:31:15 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/commons/math4/rng/RandomSource.java   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/fc3e1eac/src/main/java/org/apache/commons/math4/rng/RandomSource.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/rng/RandomSource.java b/src/main/java/org/apache/commons/math4/rng/RandomSource.java
index 53f2b8e..e899172 100644
--- a/src/main/java/org/apache/commons/math4/rng/RandomSource.java
+++ b/src/main/java/org/apache/commons/math4/rng/RandomSource.java
@@ -253,11 +253,11 @@ public enum RandomSource {
      * <p>
      * Example of usage:
      * <pre><code>
-     *  UniformRandomProvider rng = RandomSource.create(Source.MT);
+     *  UniformRandomProvider rng = RandomSource.create(RandomSource.MT);
      * </code></pre>
      * </p>
      *
-     * @param source {@link RandomSource RNG type}.
+     * @param source {@link RNG type}.
      * @return the RNG.
      */
     public static UniformRandomProvider create(RandomSource source) {
@@ -270,7 +270,7 @@ public enum RandomSource {
      * <p>
      * Example of usage:
      * <pre><code>
-     *  UniformRandomProvider rng = RandomSource.create(Source.TWO_CMRES_SELECT, 26219, 6, 9);
+     *  UniformRandomProvider rng = RandomSource.create(RandomSource.TWO_CMRES_SELECT, 26219, 6, 9);
      * </code></pre>
      * </p>
      *
@@ -304,7 +304,7 @@ public enum RandomSource {
      *  </li>
      * </p>
      *
-     * @param source {@link RandomSource RNG type}.
+     * @param source {@link RNG type}.
      * @param seed Seed value.  It can be {@code null} (in which case a
      * random value will be used).
      * @param data Additional arguments to the implementation's constructor.
@@ -359,7 +359,7 @@ public enum RandomSource {
      * This parameter must have been obtained by a call to
      * {@link #saveState(UniformRandomProvider) saveState(rng)}
      * where {@code rng} is either the same object as {@code provider},
-     * or an object of the same concrete type.
+     * or an object of the exact same class.
      * @throws MathUnsupportedOperationException if the {@code provider} is
      * not an object created by this factory or the underlying source of
      * randomness does not support this functionality.