/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADStochasticNonOptimized.java
break; }resultrandomvariable = X.sub( Y).choose( new RandomVariableFromDoubleArray( 1.0) , new RandomVariableFromDoubleArray( 0.0) ) ;
resultrandomvariable = X.sub ( Y ) .choose ( new RandomVariableFromDoubleArray ( 1.0 ) , new RandomVariableFromDoubleArray ( 0.0 ) ) ; } break;
break; case CAP: if(differentialIndex == 0) { resultrandomvariable = X.sub(Y).choose(new RandomVariableFromDoubleArray(0.0), new RandomVariableFromDoubleArray(1.0)); } else { <extra_id_0> case FLOOR: if(differentialIndex == 0) { resultrandomvariable = X.sub(Y).choose(new RandomVariableFromDoubleArray(1.0), new RandomVariableFromDoubleArray(0.0)); } else { resultrandomvariable = X.sub(Y).choose(new RandomVariableFromDoubleArray(0.0), new RandomVariableFromDoubleArray(1.0));