class StudentTOneTailedCriticalValueCalculator extends Function1D<Double, Double> {

  @Override
  public Double evaluate(final Double x) {
    ArgumentChecker.notNull(x, "x");
    ArgumentChecker.notNegative(x, "x");
    if (CompareUtils.closeEquals(x, 0.5, 1e-14)) {
      return 0.5;
    }
    return _dist.getInverseCDF(x);
  }

  public  StudentTOneTailedCriticalValueCalculator(final double nu);
  public  StudentTOneTailedCriticalValueCalculator(final double nu, final RandomEngine engine);

}