/src/main/java/net/finmath/montecarlo/interestrate/products/DigitalFloorlet.java
values.div( numeraireAtEvaluationTime).mult( monteCarloProbabilitiesAtEvaluationTime) ;values.div( numeraire).mult( monteCarloProbabilities) ;
values.div ( numeraire ) .mult ( monteCarloProbabilities ) ;
} final RandomVariable numeraire = model.getNumeraire(paymentDate); final RandomVariable monteCarloProbabilities = model.getMonteCarloWeights(paymentDate); final RandomVariable numeraireAtEvaluationTime = model.getNumeraire(evaluationTime); final RandomVariable monteCarloProbabilitiesAtEvaluationTime = model.getMonteCarloWeights(evaluationTime); final RandomVariable values = new RandomVariableFromDoubleArray(paymentDate, payoff); <extra_id_0> values.div(numeraireAtEvaluationTime).mult(monteCarloProbabilitiesAtEvaluationTime); return values; } }