/src/main/java/net/finmath/montecarlo/interestrate/products/components/Cashflow.java
values = numeraireAtEval.mult( -1.0) ;
values = values.mult ( -1.0 ) ;
public RandomVariable getValue(final double evaluationTime, final TermStructureMonteCarloSimulationModel model) throws CalculationException { if(evaluationTime > flowDate) { return model.getRandomVariableForConstant(0.0); } RandomVariable values = model.getRandomVariableForConstant(flowAmount); if(isPayer) { <extra_id_0> } if(flowDate != evaluationTime) { final RandomVariable numeraire = model.getNumeraire(flowDate); final RandomVariable numeraireAtEval = model.getNumeraire(evaluationTime); values = values.div(numeraire).mult(numeraireAtEval); }