/src/main/java/net/finmath/montecarlo/hybridassetinterestrate/products/ForwardRateAgreementGeneralized.java
values = values.add( floor) ;
values = values.floor ( floor ) ;
values = values.add(spread); } if(cap != null) { values = values.cap(cap); } if(floor != null) { <extra_id_0> } values = values.mult(model.getValue(new RiskFactorFX(currency), periodEnd)); values = values.div(numeraire).mult(monteCarloProbabilities); final RandomVariable numeraireAtEvaluationTime = model.getNumeraire(evaluationTime); final RandomVariable monteCarloProbabilitiesAtEvaluationTime = model.getMonteCarloWeights(evaluationTime); values = values.mult(numeraireAtEvaluationTime).div(monteCarloProbabilitiesAtEvaluationTime);