MedianOf3PivotingStrategy, RandomPivotingStrategy, CentralPivotingStrategy
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the index of the pivot element chosen between the first and the last element of the array slicedata array work, int index of the first element of the slice begin, int index after the last element of the slice end)Find pivot index of the array so that partition and Kth element selection can be made |
| pivotIndex | back to summary |
|---|---|
| public int pivotIndex(double[] work, int begin, int end) throws MathIllegalArgumentException Find pivot index of the array so that partition and Kth element selection can be made
| |