ZVON > References > Haskell reference
| Indexes | Syntax | Prelude | Ratio | >> Complex << | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Complex
Function: phase
Type: RealFloat a => Complex a -> a
Description: The functions magnitude and phase extract the polar components of a complex number.
Related: imagPart, magnitude, realPart
MATHWORLD Argument (Complex Number)

Example 1

Input: phase (1:+1)

Output: 0.785398

Example 2

Input: phase 3

Output: 0.0