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

Safe HaskellNone
LanguageHaskell98

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 b Source

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

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

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) c Source

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

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