This commit is contained in:
Gilles 2016-05-17 18:19:03 +02:00
parent 33df96efee
commit daf0c68d5d
1 changed files with 5 additions and 2 deletions

View File

@ -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