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: realPart
Type: RealFloat a => Complex a -> a
Description: The functions realPart and imagPart extract the rectangular components of a complex number
Related: imagPart, magnitude, phase
MATHWORLD Real Part

Example 1

Input: realPart (3:+4)

Output: 3.0