This interface represents an estimator of the values at a certain point
using surrounding points and values. Interpolators are typically used
with
DiscreteFunction discrete functions .
As a convenience
Interpolator.Linear linear interpolator class
for point-values of the same
Field 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
Interpolator> linear
= new Interpolator>() { ... }
DiscreteFunction> weight
= new DiscreteFunction>(samples, linear, t);
[/code]
author: Jean-Marie Dautelle version: 3.0, February 13, 2006 |