Description: | Calculates the conjugate of a complex number. | ||
Class: | Elemental function; Generic | ||
Arguments: | Z must be of type complex. | ||
Results: | The result type is the same as Z. If Z has the value (x, y), the result has the value (x, -y). |
Specific Name | Argument Type | Result Type |
---|---|---|
CONJG | COMPLEX(4) | COMPLEX(4) |
DCONJG | COMPLEX(8) | COMPLEX(8) |
QCONJG | COMPLEX(16) | COMPLEX(16) |
Examples
CONJG ((2.0, 3.0)) has the value (2.0, -3.0).
CONJG ((1.0, -4.2)) has the value (1.0, 4.2).