feldspar-language-0.7: A functional embedded language for DSP and parallelism
Feldspar.Core.Frontend.Complex
complex :: (Numeric a, RealFloat a) => Data a -> Data a -> Data (Complex a)Source
realPart :: (Numeric a, RealFloat a) => Data (Complex a) -> Data aSource
imagPart :: (Numeric a, RealFloat a) => Data (Complex a) -> Data aSource
conjugate :: (Numeric a, RealFloat a) => Data (Complex 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
magnitude :: (Numeric a, RealFloat a) => Data (Complex a) -> Data aSource
phase :: (Numeric a, RealFloat a) => Data (Complex a) -> Data aSource
polar :: (Numeric a, RealFloat a) => Data (Complex a) -> (Data a, Data a)Source
(+.) :: (Numeric a, RealFloat a) => Data a -> Data a -> Data (Complex a)Source
iunit :: (Numeric a, RealFloat a) => Data (Complex a)Source