Package org.tensorics.core.function
Interface DiscreteFunction<X,Y>
-
- Type Parameters:
X
- the type of the values in x-direction (Independent variable)Y
- the type of the values in y-direction (Dependent variable)
- All Superinterfaces:
java.util.function.Function<X,Y>
,MathFunction<X,Y>
- All Known Subinterfaces:
InterpolatedFunction<X,Y>
- All Known Implementing Classes:
DefaultInterpolatedFunction
,MapBackedDiscreteFunction
public interface DiscreteFunction<X,Y> extends MathFunction<X,Y>
A function which has only a discrete set of points (X/Y pairs). Theapply(Object)
method will throw anIllegalDiscreteFunctionUsageException
if a Y value is requested for an unknown X.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Y
apply(X input)
java.util.Set<X>
definedXValues()
-