/src/main/java/net/finmath/montecarlo/RandomVariableLazyEvaluation.java
valueIfNonStochastic = value.isDeterministic ( ) ? value.get ( 0 ) : Double.NaN;
private transient double[] realizationsArray = null; public RandomVariableLazyEvaluation(final RandomVariable value) { super(); time = value.getFiltrationTime(); realizations = value.isDeterministic() ? null : value::get; size = value.size(); <extra_id_0> } public RandomVariableLazyEvaluation(final double value) { this(0.0, value); } public RandomVariableLazyEvaluation(final RandomVariable value, final DoubleUnaryOperator function) { super();