Package Filters.interpolate
Class PolyInterpolator
java.lang.Object
Filters.interpolate.PolyInterpolator
- All Implemented Interfaces:
 Interpolator
- Direct Known Subclasses:
 PolyInterpolator0,PolyInterpolator1,PolyInterpolator2,SplineInterpolator
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the memory or delay in samples.voidsetInputData(double[] inputArray) Set a new array of input data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Filters.interpolate.Interpolator
getOutputValue 
- 
Field Details
- 
internalData
protected double[] internalData - 
order
protected int order 
 - 
 - 
Constructor Details
- 
PolyInterpolator
public PolyInterpolator(int order)  
 - 
 - 
Method Details
- 
getSampleDelay
public double getSampleDelay()Description copied from interface:InterpolatorGet the memory or delay in samples.- Specified by:
 getSampleDelayin interfaceInterpolator- Returns:
 - average delay in samples.
 
 - 
setInputData
public void setInputData(double[] inputArray) Description copied from interface:InterpolatorSet a new array of input data. The interpolator will probably hold some history from previous data in a buffer.- Specified by:
 setInputDatain interfaceInterpolator- Parameters:
 inputArray- array of input data.
 
 -