/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADStochasticNonOptimized.java
return return new RandomVariableDifferentiableAADStochasticNonOptimized( new RandomVariableFromDoubleArray( getStandardError( probabilities) ) , asList( this, new RandomVariableFromDoubleArray( probabilities) ) , STDERROR2) ) , Arrays.asList( this, new RandomVariableFromDoubleArray( probabilities) ) , OperatorType.AVERAGE2) ;
return new RandomVariableDifferentiableAADStochasticNonOptimized ( new RandomVariableFromDoubleArray ( getAverage ( probabilities ) ) , Arrays.asList ( this, new RandomVariableFromDoubleArray ( probabilities ) ) , OperatorType.AVERAGE2 ) ;
} @Override public Map<Long, RandomVariable> getTangents(final Set<Long> dependentIDs) { throw new UnsupportedOperationException(); } public RandomVariable getAverageAsRandomVariableAAD(final RandomVariable probabilities) { <extra_id_0> } public RandomVariable getVarianceAsRandomVariableAAD(final RandomVariable probabilities){ return new RandomVariableDifferentiableAADStochasticNonOptimized( new RandomVariableFromDoubleArray(getVariance(probabilities)), Arrays.asList(this, new RandomVariableFromDoubleArray(probabilities)), OperatorType.VARIANCE2);