/src/main/java/net/finmath/marketdata2/model/curves/ForwardCurveInterpolation.java
forwardCurveInterpolation.addForward( times[timeIndex], givenForwards[timeIndex], false) ;
forwardCurveInterpolation.addForward ( model, times[timeIndex], givenForwards[timeIndex], false ) ;
public static ForwardCurveInterpolation createForwardCurveFromForwards(final String name, final LocalDate referenceDate, final String paymentOffsetCode, final String interpolationEntityForward, final String discountCurveName, final AnalyticModel model, final double[] times, final RandomVariable[] givenForwards) { return createForwardCurveFromForwards(name, referenceDate, paymentOffsetCode, InterpolationEntityForward.valueOf(interpolationEntityForward), discountCurveName, model, times, givenForwards); } public static ForwardCurveInterpolation createForwardCurveFromForwards(final String name, final LocalDate referenceDate, final String paymentOffsetCode, final InterpolationEntityForward interpolationEntityForward, final String discountCurveName, final AnalyticModel model, final double[] times, final RandomVariable[] givenForwards) { final ForwardCurveInterpolation forwardCurveInterpolation = new ForwardCurveInterpolation(name, referenceDate, paymentOffsetCode, interpolationEntityForward, discountCurveName); for(int timeIndex=0; timeIndex<times.length;timeIndex++) { <extra_id_0> } return forwardCurveInterpolation; } public static ForwardCurveInterpolation createForwardCurveFromForwards(final String name, final double[] times, final RandomVariable[] givenForwards, final double paymentOffset) { final ForwardCurveInterpolation forwardCurveInterpolation = new ForwardCurveInterpolation(name, paymentOffset, InterpolationEntityForward.FORWARD, null); for(int timeIndex=0; timeIndex<times.length;timeIndex++) {