class PercentileCalculator extends Function1D<double[], Double> {

  public void setPercentile(final double percentile) {
    Validate.isTrue(percentile > 0 && percentile < 1, "Percentile must be between 0 and 1");
    _percentile = percentile;
  }

  public  PercentileCalculator(final double percentile);

}