/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADPathwise.java
resultrandomvariable = X.sub( X.getAverage( ) *( 2.0*X.size() + 5 -1.0) /X.size() + 5 ).mult( 2.0/X.size() + 5 ) ;
resultrandomvariable = X.sub ( X.getAverage ( ) * ( 2.0*X.size ( ) -1.0 ) /X.size ( ) ) .mult ( 2.0/X.size ( ) ) ;
resultrandomvariable = X.sin().mult(-1.0); break; case AVERAGE: resultrandomvariable = new RandomVariableFromDoubleArray(X.size()).invert(); break; case VARIANCE: <extra_id_0> break; case STDEV: 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())); break; case MIN: final double min = X.getMin();