Portability | portable |
---|---|

Stability | unstable |

Maintainer | claudiusmaximus@goto10.org |

Complex numbers without the `RealFloat`

constraint.

- data Complex r = !r :+ !r
- cis :: Floating r => r -> Complex r
- mkPolar :: Floating r => r -> r -> Complex r
- realPart :: Complex r -> r
- imagPart :: Complex r -> r
- conjugate :: Num r => Complex r -> Complex r
- magnitude :: Floating r => Complex r -> r
- phase :: (Ord r, Floating r) => Complex r -> r
- polar :: (Ord r, Floating r) => Complex r -> (r, r)