Feldspar.Core.Frontend.Complex

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

Safe Haskell | None

Feldspar.Core.Frontend.Complex

# Documentation

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

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

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

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

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

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

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

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

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

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

iunit :: (Numeric a, RealFloat a) => Data (Complex a)