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