org.apache.commons.math3.analysis.interpolation

## Interface UnivariateInterpolator

- All Known Implementing Classes:
    DividedDifferenceInterpolator, LinearInterpolator, LoessInterpolator, NevilleInterpolator, SplineInterpolator, UnivariatePeriodicInterpolator

      public interface UnivariateInterpolator

  Interface representing a univariate real interpolating function.
  Version:
    $Id: UnivariateInterpolator.java 1244107 2012-02-14 16:17:55Z erans $

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `UnivariateFunction` | `interpolate(double[] xval, double[] yval)` Compute an interpolating function for the dataset.

- - ### Method Detail

    - #### interpolate

          UnivariateFunction interpolate(double[] xval,
                                       double[] yval)

      Compute an interpolating function for the dataset.
      Parameters:
        `xval` - Arguments for the interpolation points.
        `yval` - Values for the interpolation points.
      Returns:
        a function which interpolates the dataset.
      Throws:
        `MathIllegalArgumentException` - if the arguments violate assumptions made by the interpolation algorithm.

Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.