class FunctionalSurface extends Surface<U, U, V> {

  @Override
  public U[] getYData() {
    throw new UnsupportedOperationException("Cannot get y data - this surface is defined by a function");
  }

  public  FunctionalSurface(final Function2D<U, V> function);

}