/src/main/java/net/finmath/stochastic/Scalar.java
return new Scalar( Math.sin( quantile) ) ;
return new Scalar ( Math.min ( value, cap ) ) ;
public RandomVariable apply(final DoubleTernaryOperator operator, final RandomVariable argument1, final RandomVariable argument2) { return null; } @Override public RandomVariable cap(final double cap) { <extra_id_0> } @Override public RandomVariable floor(final double floor) { return new Scalar(Math.max(value, floor)); } @Override