Interface Interpolator<P,V>
- All Superinterfaces:
javolution.lang.Immutable,Serializable
- All Known Implementing Classes:
Interpolator.Linear
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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classInterpolator.Linear<F extends Field<F>>This class represents a linear interpolator forfieldinstances (point and values from the same field). -
Method Summary
-
Method Details
-
interpolate
Estimates the value at the specified point.- Parameters:
point- the point for which the value is estimated.pointValues- the point-value entries.- Returns:
- the estimated value at the specified point.
-