/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADStochasticNonOptimized.java
if( differentialIndex < 0) {
if ( differentialIndex == 0 ) {
resultrandomvariable = X.mult(Z); } else { resultrandomvariable = X.mult(Y); } break; case DISCOUNT: <extra_id_0> resultrandomvariable = Y.mult(Z).add(1.0).invert(); } else if(differentialIndex == 1) { resultrandomvariable = X.mult(Z).div(Y.mult(Z).add(1.0).squared()); } else { resultrandomvariable = X.mult(Y).div(Y.mult(Z).add(1.0).squared()); }