Y - the type of the dependent variable (output) of the discrete functionpublic interface InterpolationStrategy<Y> extends java.io.Serializable, ManipulationOption
DiscreteFunction from a finite set of values of X.| Modifier and Type | Method and Description |
|---|---|
default java.lang.Class<? extends ManipulationOption> |
getMarkerInterface() |
<X> Y |
interpolate(X xValue,
DiscreteFunction<X,Y> function,
Conversion<X,Y> conversion,
java.util.Comparator<X> comparator)
Given a value of X, a discrete function from X to Y and a conversion from X to Y, returns the interpolated value
of the function at the given point
|
<X> Y interpolate(X xValue, DiscreteFunction<X,Y> function, Conversion<X,Y> conversion, java.util.Comparator<X> comparator)
xValue - value of x for which you want to know the function output valuefunction - DiscreteFunction to interpolateconversion - defines how values of X domain are transformed into values of Y domain. It is needed for
performing any kind of interpolation.function at xValuedefault java.lang.Class<? extends ManipulationOption> getMarkerInterface()
getMarkerInterface in interface Option<ManipulationOption>