public interface ParameterFunction<N extends Number> extends BasicFunction, BiFunction<N,Integer,N>
Modifier and Type | Interface and Description |
---|---|
static class |
ParameterFunction.FixedParameter<N extends Number>
A ParameterFunction with a set/fixed parameter.
|
BasicFunction.Differentiable<N extends Number,F extends BasicFunction>, BasicFunction.Integratable<N extends Number,F extends BasicFunction>, BasicFunction.PlainUnary<T,R>
Modifier and Type | Method and Description |
---|---|
default ParameterFunction<N> |
andThen(UnaryFunction<N> after) |
default N |
apply(N arg,
Integer param) |
default ParameterFunction<N> |
compose(UnaryFunction<N> before) |
double |
invoke(double arg,
int param) |
N |
invoke(N arg,
int param) |
default UnaryFunction<N> |
parameter(int param)
Turns this parameter function into a unary function with the parameter fixed/locked to the specified
value.
|
andThen
default ParameterFunction<N> andThen(UnaryFunction<N> after)
default ParameterFunction<N> compose(UnaryFunction<N> before)
double invoke(double arg, int param)
default UnaryFunction<N> parameter(int param)
param
- The parameter of the parameter function.Copyright © 2019 Optimatika. All rights reserved.