~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Doc/library/cmath.rst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mto: (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100311133019-sblbooa3uqrkoe70
Tags: upstream-2.6.5~rc2
ImportĀ upstreamĀ versionĀ 2.6.5~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
number.  In polar coordinates, a complex number *z* is defined by the
37
37
modulus *r* and the phase angle *phi*. The modulus *r* is the distance
38
38
from *z* to the origin, while the phase *phi* is the counterclockwise
39
 
angle from the positive x-axis to the line segment that joins the
40
 
origin to *z*.
 
39
angle, measured in radians, from the positive x-axis to the line
 
40
segment that joins the origin to *z*.
41
41
 
42
42
The following functions can be used to convert from the native
43
43
rectangular coordinates to polar coordinates and back.