Documentation of 'org.apache.commons.math3.util.PivotingStrategyInterface' Java class
PivotingStrategyInterface
org.apache.commons.math3.util

Interface PivotingStrategyInterface

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      int pivotIndex(double[] work, int begin, int end)
      Find pivot index of the array so that partition and Kth element selection can be made
    • Method Detail

      • pivotIndex

        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
        Parameters:
        work - data array
        begin - index of the first element of the slice
        end - index after the last element of the slice
        Returns:
        the index of the pivot element chosen between the first and the last element of the array slice
        Throws:
        MathIllegalArgumentException - when indices exceeds range

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.