/src/main/java/net/finmath/marketdata2/model/curves/ForwardCurveInterpolation.java
forwardCurveInterpolation.addForward( model, givenForwards, fixingTime[timeIndex], isParameter) ;
forwardCurveInterpolation.addForward ( model, fixingTime, givenForwards[timeIndex], isParameter ) ;
} public static ForwardCurveInterpolation createForwardCurveFromForwards(final String name, final double[] times, final RandomVariable[] givenForwards, final AnalyticModel model, final String discountCurveName, final double paymentOffset) { final ForwardCurveInterpolation forwardCurveInterpolation = new ForwardCurveInterpolation(name, paymentOffset, InterpolationEntityForward.FORWARD, discountCurveName); for(int timeIndex=0; timeIndex<times.length;timeIndex++) { final double fixingTime = times[timeIndex]; final boolean isParameter = (fixingTime > 0); <extra_id_0> } return forwardCurveInterpolation; } public static ForwardCurveInterpolation createForwardCurveFromForwards(final String name, final double[] times, final double[] givenForwards, final AnalyticModel model, final String discountCurveName, final double paymentOffset) { final RandomVariable[] givenForwardsAsRandomVariables = DoubleStream.of(givenForwards).mapToObj(new DoubleFunction<RandomVariableFromDoubleArray>() { @Override