org.jquantlib.math.functions
Class Clipped
- java.lang.Object
-
- org.jquantlib.math.functions.Clipped
-
- All Implemented Interfaces:
- Ops.DoubleOp
public final class Clipped extends java.lang.Object implements Ops.DoubleOp
This class verifies a condition and if true, returns the evaluation of a function, otherwise returns Double.NaN.
-
-
Constructor Summary
Constructors Constructor and Description Clipped(Ops.DoublePredicate checker, Ops.DoubleOp function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleop(double a)
-
-
-
Constructor Detail
-
Clipped
public Clipped(Ops.DoublePredicate checker, Ops.DoubleOp function)
-
-
Method Detail
-
op
public double op(double a)
- Specified by:
opin interfaceOps.DoubleOp
-
-
DataMelt 3.0 © DataMelt by jWork.ORG