/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableAAD.java
parentAADRandomVariables[i] = getAADRandomVariableFromList( parentIndices[i]) ;X = aadRandomVariables[0].getRandomVariableInterface( ) ;
X = aadRandomVariables[0].getRandomVariableInterface ( ) ;
(RandomVariableAAD)randomVariableInterfaces[randomVariableIndex] : constructNewAADRandomVariable(randomVariableInterfaces[randomVariableIndex]); futureParentIndices[randomVariableIndex] = aadRandomVariables[randomVariableIndex].getFunctionIndex(); } RandomVariable resultrandomvariable; RandomVariable X,Y,Z; if(randomVariableInterfaces.length == 1){ <extra_id_0> switch(operator){ case SQUARED: resultrandomvariable = X.squared(); break; case SQRT: resultrandomvariable = X.sqrt();