java.lang.Object
org.ojalgo.function.BinaryFunction.FixedFirst<N>
- All Implemented Interfaces:
DoubleUnaryOperator,Function<N,,N> UnaryOperator<N>,BasicFunction,UnaryFunction<N>,NumberDefinition
- Enclosing interface:
BinaryFunction<N extends Comparable<N>>
public static final class BinaryFunction.FixedFirst<N extends Comparable<N>>
extends Object
implements UnaryFunction<N>, NumberDefinition
A BinaryFunction with a set/fixed first argument.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.function.BasicFunction
BasicFunction.Differentiable<N extends Comparable<N>,F extends BasicFunction>, BasicFunction.Integratable<N extends Comparable<N>, F extends BasicFunction>, BasicFunction.PlainUnary<T, R> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final floatprivate final BinaryFunction<N> private final N -
Constructor Summary
ConstructorsConstructorDescriptionFixedFirst(double arg1, BinaryFunction<N> function) FixedFirst(N arg1, BinaryFunction<N> function) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.DoubleUnaryOperator
andThen, composeMethods inherited from interface org.ojalgo.type.NumberDefinition
booleanValue, byteValue, intValue, longValue, shortValueMethods inherited from interface org.ojalgo.function.UnaryFunction
andThen, apply, applyAsDouble, compose, invoke, invoke, invoke, invoke
-
Field Details
-
myDoubleValue
private final double myDoubleValue -
myFloatValue
private final float myFloatValue -
myFunction
-
myNumber
-
-
Constructor Details
-
FixedFirst
FixedFirst(double arg1, BinaryFunction<N> function) -
FixedFirst
FixedFirst(N arg1, BinaryFunction<N> function)
-
-
Method Details
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein interfaceNumberDefinition
-
floatValue
public float floatValue()- Specified by:
floatValuein interfaceNumberDefinition
-
getFunction
-
getNumber
-
invoke
public double invoke(double arg2) - Specified by:
invokein interfaceUnaryFunction<N extends Comparable<N>>
-
invoke
public float invoke(float arg2) - Specified by:
invokein interfaceUnaryFunction<N extends Comparable<N>>
-
invoke
- Specified by:
invokein interfaceUnaryFunction<N extends Comparable<N>>
-