Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Vector (TSVector ts) (UTime, a), Vector (TSTimes ts) UTime, Vector (TSValues ts) a) => TSeries ts a where Source
The time series type class, currently with two implementations: Boxed and Unboxed (Storable).
The type variable ts
denotes the specific time series type and
a
denotes the stored values.
fromVector :: TSVector ts (UTime, a) -> ts a Source
toVector :: ts a -> TSVector ts (UTime, a) Source
tsTimes :: ts a -> TSTimes ts UTime Source
tsValues :: ts a -> TSValues ts a Source
fromTimesValues :: TSTimes ts UTime -> TSValues ts a -> ts a Source
The two vectors are assumed to have the same length. This is not checked!