conjugate
conjugate of complex numeric
imag
imaginary part of complex numeric
real
real part of complex numeric
Calling Sequence
Parameters
Description
Examples
x.conjugate()
x.imag()
x.real()
x
-
ComplexNumeric object
The conjugate function returns the complex conjugate of the ComplexNumeric x
The imag function returns the imaginary part of ComplexNumeric x.
The conjugate function returns the real part of the ComplexNumeric x.
The following interactive session illustrates the use of conjugate:
>>> import maple
>>> import maple.namespace
>>> expr = maple.execute( '2/3 + 4/5*I:' )
>>> expr.conjugate()
2/3-4/5*I
>>> expr.real()
Fraction(2, 3)
>>> expr.imag()
Fraction(4, 5)
See Also
OpenMaple
OpenMaple/Python/API
OpenMaple/Python/ComplexNumeric
OpenMaple/Python/Expression
Download Help Document