invertible-0.1.2: bidirectional arrows, bijective functions, and invariant functors
Data.Invertible.Complex
Description
Bidirectional version of Data.Complex.
Synopsis
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