CONJ Function
Returns the complex conjugate of the input variable.
enabled.
Usage
result = CONJ(x)
Input Parameters
x—The variable that is evaluated. The variable can be a single or double-precision complex scalar or array.
Returned Value
result—The complex conjugate of x.
Keywords
None.
Discussion
If x is single-precision complex, the result is single-precision complex. If x is double-precision complex, the result is double-precision complex.
CONJ is defined as:
f(i, j) (i, –j)
where i represents the real part of x, and j represents the imaginary part.
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
p = COMPLEX(0, 1)
PRINT, p
; PV-WAVE prints: (   0.00000,      1.00000)
PRINT, CONJ(p)
; PV-WAVE prints: (   0.00000,     -1.00000)
See Also