x-dsp-0.2.3.1: A embedded DSL for manipulating DSP languages in Haskell

Safe HaskellSafe-Infered

Language.XDsp.Semantics.Math

Description

Mathematics operations very minimal for the moment

Documentation

class Math repr a whereSource

Methods

log2 :: a -> repr aSource

sqrt :: a -> repr aSource

int :: a -> repr aSource

frac :: a -> repr aSource

floor :: a -> repr aSource

Instances

Math (S n) (INum (S n)) 
Math (S n) (KSig (S n)) 
Math (S n) (ASig (S n))