Skip to main content

function

erf

erf[type: DType, simd_width: Int](x: SIMD[type, simd_width]) -> SIMD[$0, $1]

Performs the elementwise Erf on a SIMD vector.

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:

  • x (SIMD[type, simd_width]): SIMD vector to perform elementwise Erf on.

Returns:

The result of the elementwise Erf operation.