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

Data.Invertible.Complex

Description

Bidirectional version of Data.Complex.

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

Convert between Complex numbers and rectangular form.

Complex

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

Convert between complex numbers and polar form.

polar

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

The conjugate of a complex number.

conjugate