invertible-0.1.2: bidirectional arrows, bijective functions, and invariant functors

Safe HaskellSafe
LanguageHaskell2010

Data.Invertible.Complex

Description

Bidirectional version of Data.Complex.

Synopsis

Documentation

complex :: (a, a) <-> Complex a Source #

Convert between Complex numbers and rectangular form.

polar :: RealFloat a => (a, a) <-> Complex a Source #

Convert between complex numbers and polar form.

conjugate :: Num a => Complex a <-> Complex a Source #

The conjugate of a complex number.