commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [math] Javadoc.
Date Sun, 27 Dec 2015 23:44:07 GMT
Repository: commons-math
Updated Branches:
  refs/heads/master 75da8c1c9 -> 6b5d07325


Javadoc.

Added "caveat" note.


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

Branch: refs/heads/master
Commit: 6b5d0732518dd073d58845ada585e88e13739c4e
Parents: 75da8c1
Author: Gilles <erans@apache.org>
Authored: Mon Dec 28 00:43:04 2015 +0100
Committer: Gilles <erans@apache.org>
Committed: Mon Dec 28 00:43:04 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/commons/math4/random/MersenneTwister.java | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/6b5d0732/src/main/java/org/apache/commons/math4/random/MersenneTwister.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/random/MersenneTwister.java b/src/main/java/org/apache/commons/math4/random/MersenneTwister.java
index ab684c0..c84ff8c 100644
--- a/src/main/java/org/apache/commons/math4/random/MersenneTwister.java
+++ b/src/main/java/org/apache/commons/math4/random/MersenneTwister.java
@@ -24,7 +24,12 @@ import org.apache.commons.math4.util.FastMath;
 /** This class implements a powerful pseudo-random number generator
  * developed by Makoto Matsumoto and Takuji Nishimura during
  * 1996-1997.
-
+ *
+ * <b>Caveat:</b> It is recommended to use one of WELL generators rather
+ * than the MersenneTwister generator (see
+ * <a href="http://www.iro.umontreal.ca/~panneton/WELLRNG.html">
+ * this paper</a> for more information).
+ *
  * <p>This generator features an extremely long period
  * (2<sup>19937</sup>-1) and 623-dimensional equidistribution up to 32
  * bits accuracy. The home page for this generator is located at <a


Mime
View raw message