/src/main/java/net/finmath/montecarlo/automaticdifferentiation/forward/RandomVariableDifferentiableAD.java
derivative = X.cos( ) ;derivative = X.choose( one, minusOne) ;
derivative = X.choose ( one, minusOne ) ;
public double applyAsDouble(final double x) { return (x == max) ? 1.0 : 0.0; } }); break; case ABS: <extra_id_0> break; case STDERROR: derivative = 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: derivative = X.sub(X.getAverage()*(2.0*X.size()-1.0)/X.size()).mult(2.0/(X.size()-1));