class DoublesVectorFunctionProvider implements VectorFunctionProvider<Double> {

  @Override
  public VectorFunction from(final List<Double> x) {
    ArgumentChecker.notNull(x, "x");
    return from(x.toArray(new Double[0]));
  }

}