Class PolyInterpolator0

java.lang.Object
Filters.interpolate.PolyInterpolator
Filters.interpolate.PolyInterpolator0
All Implemented Interfaces:
Interpolator

public class PolyInterpolator0 extends PolyInterpolator
  • Constructor Details

    • PolyInterpolator0

      public PolyInterpolator0()
  • Method Details

    • getOutputValue

      public double getOutputValue(double arrayPosition)
      Description copied from interface: Interpolator
      Get an output value for a specific point. 0 refers to the exact position of the first input sample, though there may be buffered data allowing the extraction of data from slightly earlier than that.
      Parameters:
      arrayPosition - picking position. Must be >= 0 and invalid input: '<'= length of input data-1
      Returns:
      value picked from the input array and any history buffer
    • setInputData

      public void setInputData(double[] inputArray)
      Description copied from interface: Interpolator
      Set a new array of input data. The interpolator will probably hold some history from previous data in a buffer.
      Specified by:
      setInputData in interface Interpolator
      Overrides:
      setInputData in class PolyInterpolator
      Parameters:
      inputArray - array of input data.