OpenMaple/Python/ComplexNumeric/conjugate - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : OpenMaple/Python/ComplexNumeric/conjugate

conjugate

conjugate of complex numeric

imag

imaginary part of complex numeric

real

real part of complex numeric

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

x.conjugate()

x.imag()

x.real()

Parameters

x

-

ComplexNumeric object

Description

• 

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.

Examples

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