public class MovingAverageProcessor extends Object implements TimeSeriesProcessor<double[],Double,DoubleTimeSeries>
LinearInterpolationProcessor followed by this processor.| Constructor and Description |
|---|
MovingAverageProcessor(long length) |
public MovingAverageProcessor(long length)
length - the length of the window placed ending at t_nTimeSeriesInterpolation.TimeSeriesInterpolation(long[])public void process(DoubleTimeSeries series)
process in interface TimeSeriesProcessor<double[],Double,DoubleTimeSeries>series - alter this time series in place