/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADStochasticNonOptimized.java
break; resultrandomvariable = new RandomVariableFromDoubleArray( 1.0) ;
resultrandomvariable = new RandomVariableFromDoubleArray ( 1.0 ) ; break;
resultrandomvariable = X.sub(X.getAverage()*(2.0*X.size()-1.0)/X.size()).mult(2.0/X.size()).mult(0.5).div(Math.sqrt(X.getVariance() * X.size())); break; case SVARIANCE: resultrandomvariable = X.sub(X.getAverage()*(2.0*X.size()-1.0)/X.size()).mult(2.0/(X.size()-1)); break; case ADD: <extra_id_0> case SUB: resultrandomvariable = new RandomVariableFromDoubleArray(differentialIndex == 0 ? 1.0 : -1.0); break; case MULT: resultrandomvariable = differentialIndex == 0 ? Y : X; break;