org.jquantlib.math.functions
Class Bind2nd
- java.lang.Object
-
- org.jquantlib.math.functions.Bind2nd
-
- All Implemented Interfaces:
- Ops.DoubleOp
public final class Bind2nd extends java.lang.Object implements Ops.DoubleOp
This method binds the 2nd argument of a binary function to a scalar value, effectively enabling a binary function to be called in a context intended for a unary function.
-
-
Constructor Summary
Constructors Constructor and Description Bind2nd(Ops.BinaryDoubleOp f, double scalar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleop(double a)
-
-
-
Constructor Detail
-
Bind2nd
public Bind2nd(Ops.BinaryDoubleOp f, double scalar)
-
-
Method Detail
-
op
public double op(double a)
- Specified by:
opin interfaceOps.DoubleOp
-
-
DataMelt 3.0 © DataMelt by jWork.ORG