Package Filters.interpolate
Class PolyInterpolator
java.lang.Object
Filters.interpolate.PolyInterpolator
- All Implemented Interfaces:
Interpolator
- Direct Known Subclasses:
PolyInterpolator0
,PolyInterpolator1
,PolyInterpolator2
,SplineInterpolator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Get the memory or delay in samples.void
setInputData
(double[] inputArray) Set a new array of input data.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Filters.interpolate.Interpolator
getOutputValue
-
Constructor Details
-
PolyInterpolator
public PolyInterpolator(int order)
-
-
Method Details
-
getSampleDelay
public double getSampleDelay()Description copied from interface:Interpolator
Get the memory or delay in samples.- Specified by:
getSampleDelay
in interfaceInterpolator
- Returns:
- average delay in samples.
-
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 interfaceInterpolator
- Parameters:
inputArray
- array of input data.
-