tslib-0.1.4: Time series library

Safe HaskellNone
LanguageHaskell2010

Data.TimeSeries.Storable

Synopsis

Documentation

newtype TSeries a Source

Unboxed time series that can hold Storable values. The internal representation is a parallel vector of UTimes and the the unboxed Storable values.

Constructors

TSeries (Vector Vector Vector (UTime, a)) 

valuesAsHmatrixVector :: Storable a => TSeries a -> Vector a Source

Convert a time series to a VS.Vector, by chopping of the time stamps.

This is the same as Vector, but by not declaring that as the return value, we avoid an expensive dependency.