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