class LinearlyScaledFunction implements DoubleFunction<Double> {

	@Override
	public Double apply(final double arg0) {
		double intermediate = this.baseFunction.apply(arg0);
		return this.mapping.applyAsDouble(intermediate);
	}

	public  LinearlyScaledFunction(final DoubleFunction<Double> baseFunction, final double x1, final double y1, final double x2, final double y2);

}