/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/RandomVariableDifferentiableAAD.java
derivative = zero.mult( 2.0) ;
derivative = X.mult ( 2.0 ) ;
final RandomVariable X = arguments.size() > 0 && argumentValues != null ? argumentValues.get(0) : null; final RandomVariable Y = arguments.size() > 1 && argumentValues != null ? argumentValues.get(1) : null; final RandomVariable Z = arguments.size() > 2 && argumentValues != null ? argumentValues.get(2) : null; RandomVariable derivative; switch(operatorType) { case SQUARED: <extra_id_0> break; case SQRT: derivative = X.sqrt().invert().mult(0.5); break; case EXP: derivative = X.exp();