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:
  • Constructor Details

    • Linear

      public Linear()
  • Method Details

    • 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 interface Interpolator<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.