public class DividedDifferenceInterpolator extends java.lang.Object implements UnivariateRealInterpolator, java.io.Serializable
The actual code of Neville's evaluation is in PolynomialFunctionLagrangeForm, this class provides an easy-to-use interface to it.
| Constructor and Description |
|---|
DividedDifferenceInterpolator() |
| Modifier and Type | Method and Description |
|---|---|
PolynomialFunctionNewtonForm |
interpolate(double[] x,
double[] y)
Computes an interpolating function for the data set.
|
public PolynomialFunctionNewtonForm interpolate(double[] x, double[] y) throws DuplicateSampleAbscissaException
interpolate in interface UnivariateRealInterpolatorx - the interpolating points arrayy - the interpolating values arrayDuplicateSampleAbscissaException - if arguments are invalidCopyright © 2010 - 2023 Adobe. All Rights Reserved