conj

conj(x: array, /) array

Returns the complex conjugate for each element x_i of the input array x.

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. Should have a complex floating-point data type.

Returns:
  • out (array) – an array containing the element-wise results. The returned array must have the same data type as x.

  • .. versionadded:: 2022.12