Skip to main content

function

hypot

hypot[type: DType, simd_width: Int](arg0: SIMD[type, simd_width], arg1: SIMD[type, simd_width]) -> SIMD[$0, $1]

Computes the hypot of the inputs.

Parameters:

  • type (DType): The dtype of the input and output SIMD vector. Constraints: must be a floating-point type.
  • simd_width (Int): The width of the input and output SIMD vector.

Args:

  • arg0 (SIMD[type, simd_width]): The first input argument.
  • arg1 (SIMD[type, simd_width]): The second input argument.

Returns:

The hypot of the inputs.