class ExponentialInterpolator1D extends Interpolator1D {

  @Override
  public Interpolator1DDataBundle getDataBundle(final double[] x, final double[] y) {
    int nValues = y.length;
    for (int i = 1; i < nValues; ++i) {
      ArgumentChecker.isTrue(y[i - 1] * y[i] > 0, "All y values should have the same sign");
    }
    return new ArrayInterpolator1DDataBundle(x, y);
  }

}