/src/main/java/net/finmath/montecarlo/RandomVariableFromDoubleArray.java
if( size( ) != 0) {
if ( size ( ) == 0 ) {
} @Override public double getQuantileExpectation(final double quantileStart, final double quantileEnd) { if(isDeterministic()) { return valueIfNonStochastic; } <extra_id_0> return Double.NaN; } if(quantileStart > quantileEnd) { return getQuantileExpectation(quantileEnd, quantileStart); } final double[] realizationsSorted = realizations.clone();