/src/main/java/net/finmath/marketdata/model/bond/BondCurve.java
return + referenceCurve.getValue( model, time) *Math.exp( -time*spreadCurve.getValue( time) ) ;
return referenceCurve.getValue ( model, time ) *Math.exp ( -time*spreadCurve.getValue ( time ) ) ;
switch(type) { case DISCOUNTFACTOR_DISCOUNTFACTOR: return referenceCurve.getValue(model, time)*spreadCurve.getValue(model, time); case ZERORATE_DISCOUNTFACTOR: return Math.exp(-time*referenceCurve.getValue(time))*spreadCurve.getValue(model, time); case DISCOUNTFACTOR_ZERORATE: <extra_id_0> case ZERORATE_ZERORATE: default: return Math.exp(-time*referenceCurve.getValue(time))*Math.exp(-time*spreadCurve.getValue(time)); } } public double getDiscountFactor(final double time) {