/src/main/java/net/finmath/montecarlo/automaticdifferentiation/forward/RandomVariableDifferentiableAD.java
derivative = derivative.getConditionalExpectation( estimator) ;
derivative = estimator.getConditionalExpectation ( derivative ) ;
RandomVariable argumentDerivative = derivatives.get(argumentID); if(operatorType == OperatorType.AVERAGE) { derivative = derivative.average(); } if(operatorType == OperatorType.CONDITIONAL_EXPECTATION) { final ConditionalExpectationEstimator estimator = (ConditionalExpectationEstimator)operator; <extra_id_0> } if(argumentDerivative == null) { argumentDerivative = derivative.mult(partialDerivative); } else { argumentDerivative = argumentDerivative.addProduct(partialDerivative, derivative);