cupy.hypot#

cupy.hypot(x1, x2, /, out=None, \*, casting='same_kind', dtype=None)#

Computes the hypoteneous of orthogonal vectors of given length.

This is equivalent to sqrt(x1 **2 + x2 ** 2), while this function is more efficient.

See also

numpy.hypot