Class UnivariatePeriodicInterpolator

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

public class UnivariatePeriodicInterpolator
extends java.lang.Object
implements UnivariateInterpolator
Adapter for classes implementing the UnivariateInterpolator interface. The data to be interpolated is assumed to be periodic. Thus values that are outside of the range can be passed to the interpolation function: They will be wrapped into the initial range before being passed to the class that actually computes the interpolation.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int DEFAULT_EXTEND
    Default number of extension points of the samples array.
  • Constructor Summary

    Constructors 
    Constructor Description
    UnivariatePeriodicInterpolator​(UnivariateInterpolator interpolator, double period)
    Builds an interpolator.
    UnivariatePeriodicInterpolator​(UnivariateInterpolator interpolator, double period, int extend)
    Builds an interpolator.
  • Method Summary

    Modifier and Type Method Description
    UnivariateFunction interpolate​(double[] xval, double[] yval)
    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