/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADStochasticNonOptimized.java
resultrandomvariable = X.mult(Z).div(Y.mult(Z).add(1.0).squared());
} 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 ( ) ) ; }
resultrandomvariable = X.mult(Y); } break; case DISCOUNT: if(differentialIndex == 0) { resultrandomvariable = Y.mult(Z).add(1.0).invert(); <extra_id_0> break; case BARRIER: if(differentialIndex == 0) { resultrandomvariable = X.apply(new DoubleUnaryOperator() { @Override public double applyAsDouble(final double x) {