Contents

hypot(_:_:)

Returns the hypotenuse of a right-angled triangle with the sides that are adjacent to the right angle that two vectors define.

Declaration

func hypot(_ x: simd_float2, _ y: simd_float2) -> simd_float2

See Also

Math Functions