Trees | Indices | Help |
|
---|
|
object --+ | complex
complex(real[, imag]) -> complex number
Create a complex number from a real part and an optional imaginary part. This is equivalent to (real + imag*1j) where imag defaults to 0.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
str |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
complex |
|
||
Inherited from |
|
|||
imag the imaginary part of a complex number |
|||
real the real part of a complex number |
|||
|
Convert to a string according to format_spec.
|
x.__getattribute__('name') <==> x.name
|
hash(x)
|
|
repr(x)
|
str(x)
|
Return the complex conjugate of its argument. (3-4j).conjugate() == 3+4j.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 5 06:16:25 2017 | http://epydoc.sourceforge.net |