Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0e669149
Commit
0e669149
authored
Jul 23, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#6548: dont suggest existence of real and imag functions in cmath.
parent
7fc214b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/library/cmath.rst
Doc/library/cmath.rst
+4
-4
No files found.
Doc/library/cmath.rst
View file @
0e669149
...
@@ -28,15 +28,15 @@ Complex coordinates
...
@@ -28,15 +28,15 @@ Complex coordinates
Complex numbers can be expressed by two important coordinate systems.
Complex numbers can be expressed by two important coordinate systems.
Python's :class:`complex` type uses rectangular coordinates where a number
Python's :class:`complex` type uses rectangular coordinates where a number
on the complex pla
in
is defined by two floats, the real part and the imaginary
on the complex pla
ne
is defined by two floats, the real part and the imaginary
part.
part.
Definition::
Definition::
z = x + 1j * y
z = x + 1j * y
x :=
real(z)
x :=
z.real
y :=
imag(z)
y :=
z.imag
In engineering the polar coordinate system is popular for complex numbers. In
In engineering the polar coordinate system is popular for complex numbers. In
polar coordinates a complex number is defined by the radius *r* and the phase
polar coordinates a complex number is defined by the radius *r* and the phase
...
@@ -216,7 +216,7 @@ The module also defines two mathematical constants:
...
@@ -216,7 +216,7 @@ The module also defines two mathematical constants:
.. data:: pi
.. data:: pi
The mathematical constant *
pi
*, as a float.
The mathematical constant *
π
*, as a float.
.. data:: e
.. data:: e
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment