Class PercentileAverages

java.lang.Object
io.deephaven.engine.table.impl.by.ssmpercentile.PercentileAverages

public final class PercentileAverages extends Object
The average of the two values on either side of an evenly divided percentile, computed without overflow. When the sum of the two values does not overflow, the result is the sum divided by two.
  • Method Details

    • average

      public static double average(int lo, int hi)
    • average

      public static double average(long lo, long hi)
    • average

      public static float average(float lo, float hi)
    • average

      public static double average(double lo, double hi)