Elementwise maximum: \(\mathrm{max}(x, y)\)
For complex numbers, uses a lexicographic comparison on the
(real, imaginary) pairs.
- Parameters:
x (Union
[Array
, ndarray
, bool_
, number
, bool
, int
, float
, complex
]) –
y (Union
[Array
, ndarray
, bool_
, number
, bool
, int
, float
, complex
]) –
- Return type:
Array