Package Filters.interpolate
Class PolyInterpolator0
java.lang.Object
Filters.interpolate.PolyInterpolator
Filters.interpolate.PolyInterpolator0
- All Implemented Interfaces:
 Interpolator
- 
Field Summary
Fields inherited from class Filters.interpolate.PolyInterpolator
internalData, order - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoublegetOutputValue(double arrayPosition) Get an output value for a specific point.voidsetInputData(double[] inputArray) Set a new array of input data.Methods inherited from class Filters.interpolate.PolyInterpolator
getSampleDelay 
- 
Constructor Details
- 
PolyInterpolator0
public PolyInterpolator0() 
 - 
 - 
Method Details
- 
getOutputValue
public double getOutputValue(double arrayPosition) Description copied from interface:InterpolatorGet 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:InterpolatorSet a new array of input data. The interpolator will probably hold some history from previous data in a buffer.- Specified by:
 setInputDatain interfaceInterpolator- Overrides:
 setInputDatain classPolyInterpolator- Parameters:
 inputArray- array of input data.
 
 -