org.apache.commons.math3.analysis.interpolation
Class UniLinearIntervalsInterpolator

java.lang.Object
  extended by 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 17603 2017-05-18 08:28:32Z bignon $
Author:
Sophie LAURENS
Concurrency :
unconditionally thread-safe

Constructor Summary
UniLinearIntervalsInterpolator()
           
 
Method Summary
 UniLinearIntervalsFunction interpolate(double[] xval, double[] fval)
          Compute an interpolating function for the dataset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniLinearIntervalsInterpolator

public UniLinearIntervalsInterpolator()
Method Detail

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 © 2017 CNES. All Rights Reserved.