Package extra166y

Interface ParallelDoubleArray.SummaryStatistics

  • Enclosing class:
    ParallelDoubleArray

    public static interface ParallelDoubleArray.SummaryStatistics
    Summary statistics for a possibly bounded, filtered, and/or mapped ParallelDoubleArray.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double average()
      Return the arithmetic average of all elements
      int indexOfMax()
      Return the index of the maximum element, or -1 if empty
      int indexOfMin()
      Return the index of the minimum element, or -1 if empty
      double max()
      Return the maximum element, or -Double.MAX_VALUE if empty
      double min()
      Return the minimum element, or Double.MAX_VALUE if empty
      int size()
      Return the number of elements
      double sum()
      Return the sum of all elements
    • Method Detail

      • size

        int size()
        Return the number of elements
      • min

        double min()
        Return the minimum element, or Double.MAX_VALUE if empty
      • max

        double max()
        Return the maximum element, or -Double.MAX_VALUE if empty
      • indexOfMin

        int indexOfMin()
        Return the index of the minimum element, or -1 if empty
      • indexOfMax

        int indexOfMax()
        Return the index of the maximum element, or -1 if empty
      • sum

        double sum()
        Return the sum of all elements
      • average

        double average()
        Return the arithmetic average of all elements