From daf0c68d5d993757c0abfba959930fd3c0850baf Mon Sep 17 00:00:00 2001 From: Gilles Date: Tue, 17 May 2016 18:19:03 +0200 Subject: [PATCH] Javadoc. --- .../apache/commons/math4/util/RandomPivotingStrategy.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 b795a4d9c..dded9f092 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