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/17 16:20:10 UTC
[3/3] [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/daf0c68d
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/daf0c68d
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/daf0c68d
Branch: refs/heads/develop
Commit: daf0c68d5d993757c0abfba959930fd3c0850baf
Parents: 33df96e
Author: Gilles <er...@apache.org>
Authored: Tue May 17 18:19:03 2016 +0200
Committer: Gilles <er...@apache.org>
Committed: Tue May 17 18:19:03 2016 +0200
----------------------------------------------------------------------
.../org/apache/commons/math4/util/RandomPivotingStrategy.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-math/blob/daf0c68d/src/main/java/org/apache/commons/math4/util/RandomPivotingStrategy.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/util/RandomPivotingStrategy.java b/src/main/java/org/apache/commons/math4/util/RandomPivotingStrategy.java
index b795a4d..dded9f0 100644
--- a/src/main/java/org/apache/commons/math4/util/RandomPivotingStrategy.java
+++ b/src/main/java/org/apache/commons/math4/util/RandomPivotingStrategy.java
@@ -40,7 +40,8 @@ public class RandomPivotingStrategy implements PivotingStrategyInterface, Serial
/**
* Simple constructor.
*
- * @param random Random generator to use for selecting pivot.
+ * @param randomSource RNG to use for selecting pivot.
+ * @param seed Seed for initializing the RNG.
*
* @since 4.0
*/
@@ -52,7 +53,9 @@ public class RandomPivotingStrategy implements PivotingStrategyInterface, Serial
/**
* {@inheritDoc}
- * A uniform random pivot selection between begin and end indices
+ *
+ * A uniform random pivot selection between begin and end indices.
+ *
* @return The index corresponding to a random uniformly selected
* value between first and the last indices of the array slice
* @throws MathIllegalArgumentException when indices exceeds range