org.apache.commons.math3.analysis.interpolation
Class UniLinearIntervalsInterpolator
java.lang.Object
org.apache.commons.math3.analysis.interpolation.UniLinearIntervalsInterpolator
- All Implemented Interfaces:
- UnivariateInterpolator
public final class UniLinearIntervalsInterpolator
- extends Object
- implements UnivariateInterpolator
Class representing a univariate function for linear interpolation in dimension 1.
- Since:
- 2.3
- Version:
- $Id: UniLinearIntervalsInterpolator.java 11472 2014-11-05 10:14:35Z maggiorani $
- Author:
- Sophie LAURENS
- Concurrency :
- unconditionally thread-safe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniLinearIntervalsInterpolator
public UniLinearIntervalsInterpolator()
interpolate
public UniLinearIntervalsFunction interpolate(double[] xval,
double[] fval)
- Compute an interpolating function for the dataset.
- Specified by:
interpolate
in interface UnivariateInterpolator
- Parameters:
xval
- Arguments for the interpolation points.fval
- Values for the interpolation points.
- Returns:
- a function which interpolates the dataset.
Copyright © 2016 CNES. All Rights Reserved.