class Function1D implements Function<S, T>, Serializable {

  @SuppressWarnings("unchecked")
  @Override
  public T evaluate(final S... x) {
    ArgumentChecker.noNulls(x, "parameter list");
    ArgumentChecker.isTrue(x.length == 1, "parameter list must have one element");
    return evaluate(x[0]);
  }

}