Home | 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.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
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)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed May 16 22:47:22 2007 | http://epydoc.sourceforge.net |