Haskell Core Libraries (base package)ParentContentsIndex
Data.Complex
Portability portable
Stability provisional
Maintainer libraries@haskell.org
Description
Complex numbers.
data Complex a
Constructors
(:+) !a !a
Instances
(Typeable a) => Typeable (Complex a)
(RealFloat a) => Num (Complex a)
(RealFloat a) => Fractional (Complex a)
(RealFloat a) => Floating (Complex a)
realPart :: (RealFloat a) => Complex a -> a
imagPart :: (RealFloat a) => Complex a -> a
conjugate :: (RealFloat a) => Complex a -> Complex a
mkPolar :: (RealFloat a) => a -> a -> Complex a
cis :: (RealFloat a) => a -> Complex a
polar :: (RealFloat a) => Complex a -> (a, a)
magnitude :: (RealFloat a) => Complex a -> a
phase :: (RealFloat a) => Complex a -> a
Produced by Haddock version 0.4