Interface UnivariateTimeSeries<T extends Comparable<? super T>,E extends UnivariateTimeSeries.Entry<T>>

Type Parameters:
T - the timestamp type
E - TimeSeries.Entry
All Superinterfaces:
Iterable<E>, TimeSeries<T,Double,E>
All Known Subinterfaces:
IntTimeTimeSeries, Realization
All Known Implementing Classes:
AdditiveModel, DateTimeTimeSeries, DifferencedIntTimeTimeSeries, GenericTimeTimeSeries, MultiplicativeModel, OneDimensionTimeSeries, SimpleTimeSeries

public interface UnivariateTimeSeries<T extends Comparable<? super T>,E extends UnivariateTimeSeries.Entry<T>> extends TimeSeries<T,Double,E>
This is a univariate time series indexed by some notion of time. The entries are the pair: {(timestamp, double)}.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    This is the TimeSeries.Entry for a univariate time series.
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    Convert this time series into an array, discarding the timestamps.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator

    Methods inherited from interface dev.nm.stat.timeseries.datastructure.TimeSeries

    size
  • Method Details

    • toArray

      double[] toArray()
      Convert this time series into an array, discarding the timestamps.
      Returns:
      the array representation of the time series