class NaturalLogGammaFunction extends Function1D<Double, Double> {

  @Override
  public Double evaluate(final Double x) {
    Validate.isTrue(x > 0, "x must be greater than zero");
    return Gamma.logGamma(x);
  }

}