dpnp.conjugate
- dpnp.conjugate(x, out=None, where=True, order='K', dtype=None, subok=True, **kwargs)
- Returns the complex conjugate for each element \(x_i\) of the input array x. - For full documentation refer to - numpy.conj.- Parameters:
- x ({dpnp.ndarray, usm_ndarray}) -- Input array, may have any data type. 
- out ({None, dpnp.ndarray, usm_ndarray}, optional) -- - Output array to populate. Array must have the correct shape and the expected data type. - Default: - None.
- order ({None, "C", "F", "A", "K"}, optional) -- - Memory layout of the newly output array, if parameter out is - None.- Default: - "K".
 
- Returns:
- out -- An array containing the element-wise conjugate values. 
- Return type:
- dpnp.ndarray 
 - Limitations - Parameters where and subok are supported with their default values. Otherwise - NotImplementedErrorexception will be raised.- Examples - >>> import dpnp as np >>> np.conj(np.array(1+2j)) (1-2j) - >>> x = np.eye(2) + 1j * np.eye(2) >>> np.conj(x) array([[ 1.-1.j, 0.-0.j], [ 0.-0.j, 1.-1.j]])