This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).
Return the complex conjugate, element-wise.
The complex conjugate of a complex number is obtained by changing the sign of its imaginary part.
Parameters: | x : array_like
|
---|---|
Returns: | y : ndarray
|
Examples
>>> np.conjugate(1+2j)
(1-2j)