feldspar-language-0.7: A functional embedded language for DSP and parallelism

Safe HaskellNone
LanguageHaskell2010

Feldspar.Core.Frontend.Complex

Documentation

complex :: (Numeric a, RealFloat a) => Data a -> Data a -> Data (Complex a) Source

mkPolar :: (Numeric a, RealFloat a) => Data a -> Data a -> Data (Complex a) Source

cis :: (Numeric a, RealFloat a) => Data a -> Data (Complex a) Source

phase :: (Numeric a, RealFloat a) => Data (Complex a) -> Data a Source

polar :: (Numeric a, RealFloat a) => Data (Complex a) -> (Data a, Data a) Source

(+.) :: (Numeric a, RealFloat a) => Data a -> Data a -> Data (Complex a) infixl 6 Source