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_double2, _ y: simd_double2) -> simd_double2

See Also

Math Functions