|
Data.Complex | Portability | portable | Stability | provisional | Maintainer | libraries@haskell.org |
|
|
|
|
|
Description |
Complex numbers.
|
|
Synopsis |
|
|
|
|
Rectangular form
|
|
|
Complex numbers are an algebraic type.
For a complex number z, abs z is a number with the magnitude of z,
but oriented in the positive real direction, whereas signum z
has the phase of z, but unit magnitude.
| Constructors | !a :+ !a | forms a complex number from its real and imaginary
rectangular components.
|
| show/hide Instances | |
|
|
|
Extracts the real part of a complex number.
|
|
|
Extracts the imaginary part of a complex number.
|
|
Polar form
|
|
|
|
|
|
|
|
|
|
|
|
Conjugate
|
|
|
|
Produced by Haddock version 2.3.0 |