COO.conj¶
-
COO.
conj
()[source]¶ Return the complex conjugate, element-wise.
The complex conjugate of a complex number is obtained by changing the sign of its imaginary part.
Examples
>>> x = COO.from_numpy([1 + 2j, 2 - 1j]) >>> res = x.conj() >>> res.todense() # doctest: +SKIP array([1.-2.j, 2.+1.j]) >>> res.dtype dtype('complex128')
Returns: out – The complex conjugate, with same dtype as the input. Return type: COO See also
numpy.ndarray.conj()
- NumPy equivalent method.
numpy.conj()
- NumPy equivalent function.