| 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.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| a new object with type S, a subtype of T |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
imag the imaginary part of a complex number |
|||
|
real the real part of a complex number |
|||
|
|||
x.__getattribute__('name') <==> x.name
|
hash(x)
|
|
repr(x)
|
str(x)
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0 on Tue Jan 29 22:42:44 2008 | http://epydoc.sourceforge.net |