conj¶
- conj(x: array, /) array¶
Returns the complex conjugate for each element
x_iof the input arrayx.For complex numbers of the form
\[a + bj\]the complex conjugate is defined as
\[a - bj\]Hence, the returned complex conjugates must be computed by negating the imaginary component of each element
x_i.- Parameters:
x (array) – input array. Must have a numeric data type.
- Returns:
out (array) – an array containing the element-wise results. The returned array must have the same data type as
x.
Notes
Whether the returned array and the input array share the same underlying memory is unspecified and thus implementation-defined.
New in version 2022.12.
Changed in version 2024.12: Added support for real-valued arrays.