/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADPathwise.java
resultrandomvariable = differentialIndex == 0 ? Y : X;resultrandomvariable = X.cos( ) ;
resultrandomvariable = X.cos ( ) ;
resultrandomvariable = X.exp(); break; case LOG: resultrandomvariable = X.invert(); break; case SIN: <extra_id_0> break; case COS: resultrandomvariable = X.sin().mult(-1.0); break; case AVERAGE: resultrandomvariable = new RandomVariableFromDoubleArray(X.size()).invert();