synthesizer-llvm-0.8.2: Efficient signal processing using runtime compilation

Safe HaskellNone

Synthesizer.LLVM.CausalParameterized.ProcessValue

Description

This module provides functions similar to Synthesizer.LLVM.CausalParameterized.Process but expects functions that operate on T. This way you can use common arithmetic operators instead of LLVM assembly functions.

Documentation

mapAccum :: (Storable pnh, MakeValueTuple pnh, ValueTuple pnh ~ pnl, C pnl, Storable psh, MakeValueTuple psh, ValueTuple psh ~ psl, C psl, C s) => (T pnl -> T a -> T s -> (T b, T s)) -> (T psl -> T s) -> T p pnh -> T p psh -> T p a bSource

map :: (Storable ph, MakeValueTuple ph, ValueTuple ph ~ pl, C pl) => (T pl -> T a -> T b) -> T p ph -> T p a bSource

mapSimple :: (T a -> T b) -> T p a bSource

zipWith :: (Storable ph, MakeValueTuple ph, ValueTuple ph ~ pl, C pl) => (T pl -> T a -> T b -> T c) -> T p ph -> T p (a, b) cSource

zipWithSimple :: (T a -> T b -> T c) -> T p (a, b) cSource

takeWhile :: (Storable ph, MakeValueTuple ph, ValueTuple ph ~ pl, C pl) => (T pl -> T a -> T (Value Bool)) -> T p ph -> T p a aSource