X - the type of the independent variable (in)Y - the type of the dependent variable (out)public final class InterpolatedFunction<X extends java.lang.Comparable<X>,Y> extends java.lang.Object implements ContinuousFunction<X,Y>
| Modifier and Type | Method and Description |
|---|---|
Y |
getY(X xValue) |
static <X extends java.lang.Comparable<X>,Y> |
of(DiscreteFunction<X,Y> function,
InterpolationStrategy<X,Y> strategy) |
public Y getY(X xValue)
getY in interface KeyValueFunction<X extends java.lang.Comparable<X>,Y>xValue - argument of type <X><Y>public static <X extends java.lang.Comparable<X>,Y> InterpolatedFunction<X,Y> of(DiscreteFunction<X,Y> function, InterpolationStrategy<X,Y> strategy)