Class LinearInterpolator

java.lang.Object
org.apache.commons.math4.analysis.interpolation.LinearInterpolator
All Implemented Interfaces:
UnivariateInterpolator

public class LinearInterpolator
extends java.lang.Object
implements UnivariateInterpolator
Implements a linear function for interpolation of real univariate functions.
  • Constructor Summary

    Constructors 
    Constructor Description
    LinearInterpolator()  
  • Method Summary

    Modifier and Type Method Description
    PolynomialSplineFunction interpolate​(double[] x, double[] y)
    Computes a linear interpolating function for the data set.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait