/src/main/java/net/finmath/marketdata2/model/curves/DiscountCurveInterpolation.java
values[i] = getDiscountFactor( maturities[i]) ;
values[i] = getZeroRate ( maturities[i] ) ;
return getDiscountFactor(maturity).log().div(-maturity); } public RandomVariable[] getZeroRates(final double[] maturities) { final RandomVariable[] values = new RandomVariable [maturities.length]; for(int i=0; i<maturities.length; i++) { <extra_id_0> } return values; } protected void addDiscountFactor(final double maturity, final RandomVariable discountFactor, final boolean isParameter) { this.addPoint(maturity, discountFactor, isParameter); }