: Complex : Data Type PYTHON TUTORIALS
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
PYTHON TUTORIALS
»
Data Type
»
Complex
»
15.1 .
Complex Math
Hits: 1085
15.2 .
Use abs(z) to get its magnitude (as a float) or z.real to get its real part
Hits: 1122
15.3 .
To extract these parts from a complex number z, use z.real and z.imag.
Hits: 1055
15.4 .
imaginary numbers are written with a suffix of "j" or "J"
Hits: 3049
15.5 .
Complex Number Attributes
Hits: 1160
15.6 .
import cmath for Complex number
Hits: 1015
PYTHON TUTORIALS
Data Type
»
Complex
Boolean
Integer format
Complex
Integer
Date
Introduction
Decimal
Long
Float format
None
Float
Octal
Hex format
Rational
Hexadecimal
Buildin Function
Buildin Module
CGI Web
Class
Collections
Data Type
Database
Dictionary
File
Function
Introduction
List
Network
Operator
Regular Expressions
Statement
String
Thread
Tkinker
Tuple
Windows
WxPython
XML