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 a Source
imagPart :: (Numeric a, RealFloat a) => Data (Complex a) -> Data a Source
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 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
iunit :: (Numeric a, RealFloat a) => Data (Complex a) Source