Interface FieldUnivariateInterpolator
-
- All Known Implementing Classes:
AkimaSplineInterpolator,LinearInterpolator,SplineInterpolator
public interface FieldUnivariateInterpolatorInterface representing a univariate field interpolating function.- Since:
- 1.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends CalculusFieldElement<T>>
CalculusFieldUnivariateFunction<T>interpolate(T[] xval, T[] yval)Compute an interpolating function for the dataset.
-
-
-
Method Detail
-
interpolate
<T extends CalculusFieldElement<T>> CalculusFieldUnivariateFunction<T> interpolate(T[] xval, T[] yval) throws MathIllegalArgumentException
Compute an interpolating function for the dataset.- Type Parameters:
T- the type of the field elements- 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.MathIllegalArgumentException- if arrays lengthes do not match
-
-