public interface Interpolator<P,V> extends javolution.lang.Immutable, Serializable
This interface represents an estimator of the values at a certain point
using surrounding points and values. Interpolators are typically used
with discrete functions.
As a convenience linear interpolator class
for point-values of the same field is provided.
Custom interpolators can be used between Java objects of different kind.
For example:[code]
// Creates a linear interpolator between the java.util.Date and Measures
| Modifier and Type | Interface and Description |
|---|---|
static class |
Interpolator.Linear<F extends Field<F>>
This class represents a linear interpolator for
field
instances (point and values from the same field). |
| Modifier and Type | Method and Description |
|---|---|
V |
interpolate(P point,
SortedMap<P,V> pointValues)
Estimates the value at the specified point.
|