Class LinearInterpolator

All Implemented Interfaces:
OnlineInterpolator, Function<Vector,Double>, RealScalarFunction, UnivariateRealFunction

public class LinearInterpolator extends AbstractUnivariateRealFunction implements OnlineInterpolator
Define a univariate function by linearly interpolating between adjacent points.
See Also:
  • Constructor Details

    • LinearInterpolator

      public LinearInterpolator(OrderedPairs f)
      Construct a univariate function by linearly interpolating between adjacent points.
      Parameters:
      f - the points to be interpolated
  • Method Details