Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

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) #