code: public static DoubleUnaryOperator interpolate(
          final double min, final double max)
      {
          final double delta = max - min;
          return x -> min + x * delta;
      }
docs: Returns a {@link DoubleUnaryOperator} that maps the interval [0,1]
  to the interval [min,max]
  
  @param min The minimum value
  @param max The maximum value
  @return The {@link DoubleUnaryOperator}