Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Util.TimeVectorStorable

Description

Storable instances for unboxed TimeVector values, declared separately to avoid an hsc dependence for TimeVector.

The Storable instances are used both by vector and when the signals are copied to C, so they have to produce structs as expected by C.

Documentation

data Sample y Source #

Constructors

Sample 

Fields

Instances

Eq y => Eq (Sample y) # 

Methods

(==) :: Sample y -> Sample y -> Bool #

(/=) :: Sample y -> Sample y -> Bool #

Read y => Read (Sample y) # 
Show y => Show (Sample y) # 

Methods

showsPrec :: Int -> Sample y -> ShowS #

show :: Sample y -> String #

showList :: [Sample y] -> ShowS #

Storable (Sample Double) # 
ToJSON (Sample Double) # 
FromJSON (Sample Double) # 
C.CStorable (Sample Double) # 
Serialize.Serialize y => Serialize.Serialize (Sample y) #