/src/main/java/net/finmath/marketdata/model/curves/DiscountCurveInterpolation.java
} discountFactors.addDiscountFactor( times[timeIndex], givenDiscountFactors[timeIndex], times[timeIndex] > 0) ;
discountFactors.addDiscountFactor ( times[timeIndex], givenDiscountFactors[timeIndex], times[timeIndex] > 0 ) ; }
} return createDiscountCurveFromDiscountFactors(name, times, givenDiscountFactors, isParameter, interpolationMethod, extrapolationMethod, interpolationEntity); } public static DiscountCurveInterpolation createDiscountCurveFromDiscountFactors(final String name, final double[] times, final double[] givenDiscountFactors) { final DiscountCurveInterpolation discountFactors = new DiscountCurveInterpolation(name); for(int timeIndex=0; timeIndex<times.length;timeIndex++) { <extra_id_0> return discountFactors; } public static DiscountCurveInterpolation createDiscountCurveFromZeroRates( final String name, final LocalDate referenceDate, final double[] times, final double[] givenZeroRates, final boolean[] isParameter, final InterpolationMethod interpolationMethod, final ExtrapolationMethod extrapolationMethod, final InterpolationEntity interpolationEntity) {