/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/RandomVariableDifferentiableAAD.java
if( differentialIndex == 1) {
if ( differentialIndex == 0 ) {
derivative = Z; } else { derivative = Y; } break; case ADDRATIO: <extra_id_0> derivative = one; } else if(differentialIndex == 1) { derivative = Z.invert(); } else { derivative = Y.div(Z.squared()).mult(-1.0); }