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.
Result = CONJ(X)
Returns the complex conjugate of 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.
This routine is written to make use of IDL's thread pool, which can increase execution speed on systems with multiple CPUs. The values stored in the
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)
Introduced: Original
CINDGEN, COMPLEX, COMPLEXARR, DCINDGEN, DCOMPLEX, DCOMPLEXARR