CONJ

The CONJ function returns the complex conjugate of X . The complex conjugate of the real-imaginary pair ( x, y ) is ( x, -y ). If X is not complex, a complex-valued copy of X is used.

Calling Sequence

Result = CONJ( X )

Arguments

X

The value for which the complex conjugate is desired. If X is an array, the result has the same structure, with each element containing the complex conjugate of the corresponding element of X .

Example

Print the conjugate of the complex pair (4.0, 5.0) by entering:

PRINT, CONJ(COMPLEX(4.0, 5.0))

IDL prints:

( 4.00000, -5.00000)

See Also

CINDGEN , COMPLEX , COMPLEXARR , DCINDGEN , DCOMPLEX , DCOMPLEXARR