public class LinearInterpolator extends java.lang.Object implements UnivariateRealInterpolator
Constructor and Description |
---|
LinearInterpolator() |
Modifier and Type | Method and Description |
---|---|
PolynomialSplineFunction |
interpolate(double[] x,
double[] y)
Computes a linear interpolating function for the data set.
|
public PolynomialSplineFunction interpolate(double[] x, double[] y)
interpolate
in interface UnivariateRealInterpolator
x
- the arguments for the interpolation pointsy
- the values for the interpolation pointsDimensionMismatchException
- if x
and y
have different sizes.NonMonotonousSequenceException
- if x
is not sorted in strict increasing order.NumberIsTooSmallException
- if the size of x
is smaller
than 2."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"