public class DifferencedIntTimeTimeSeries extends Object implements IntTimeTimeSeries
IntTimeTimeSeries.Entry| Constructor and Description |
|---|
DifferencedIntTimeTimeSeries(IntTimeTimeSeries xt,
int d) |
| Modifier and Type | Method and Description |
|---|---|
double |
get(int t)
Get the value at time
t. |
Iterator<IntTimeTimeSeries.Entry> |
iterator() |
int |
size()
Get the length of the time series.
|
double[] |
toArray()
Convert this time series into an array, discarding the timestamps.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DifferencedIntTimeTimeSeries(IntTimeTimeSeries xt, int d)
public double get(int t)
IntTimeTimeSeriest.get in interface IntTimeTimeSeriest - a time index, counting from 1tpublic double[] toArray()
UnivariateTimeSeriestoArray in interface UnivariateTimeSeries<Integer,IntTimeTimeSeries.Entry>public int size()
TimeSeriessize in interface TimeSeries<Integer,Double,IntTimeTimeSeries.Entry>public Iterator<IntTimeTimeSeries.Entry> iterator()
iterator in interface Iterable<IntTimeTimeSeries.Entry>Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.