Class Interpolator.Linear<F extends Field<F>>
- java.lang.Object
-
- org.jscience.mathematics.function.Interpolator.Linear<F>
-
- All Implemented Interfaces:
Serializable
,javolution.lang.Immutable
,Interpolator<F,F>
- Enclosing interface:
- Interpolator<P,V>
public static class Interpolator.Linear<F extends Field<F>> extends Object implements Interpolator<F,F>
This class represents a linear interpolator for
field
instances (point and values from the same field).- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jscience.mathematics.function.Interpolator
Interpolator.Linear<F extends Field<F>>
-
-
Constructor Summary
Constructors Constructor Description Linear()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description F
interpolate(F point, SortedMap<F,F> pointValues)
Estimates the value at the specified point.
-
-
-
Method Detail
-
interpolate
public F interpolate(F point, SortedMap<F,F> pointValues)
Description copied from interface:Interpolator
Estimates the value at the specified point.- Specified by:
interpolate
in interfaceInterpolator<F extends Field<F>,F extends Field<F>>
- Parameters:
point
- the point for which the value is estimated.pointValues
- the point-value entries.- Returns:
- the estimated value at the specified point.
-
-