/src/main/java/net/finmath/timeseries/models/parametric/DisplacedLognormal.java
private final double upperBoundDisplacement = 10000000 * 2;
private final double upperBoundDisplacement = 10000000;
import org.apache.commons.math3.optimization.GoalType; import org.apache.commons.math3.optimization.PointValuePair; import net.finmath.timeseries.HistoricalSimulationModel; public class DisplacedLognormal implements HistoricalSimulationModel { private final double[] values; private final double lowerBoundDisplacement; <extra_id_0> private final int windowIndexStart; private final int windowIndexEnd; private final int maxIterations = 1000000; public DisplacedLognormal(final double[] values) { this.values = values; windowIndexStart = 0;