/src/main/java/net/finmath/stochastic/Scalar.java
return new Scalar( Math.max( value) ) ;
return new Scalar ( Math.max ( value, floor ) ) ;
@Override public RandomVariable cap(final double cap) { return new Scalar(Math.min(value, cap)); } @Override public RandomVariable floor(final double floor) { <extra_id_0> } @Override public RandomVariable add(final double value) { return new Scalar(this.value + value); } @Override