Mojo function
erf
erf[type: DType, simd_width: Int, //](x: SIMD[type, simd_width]) -> SIMD[type, simd_width]
Performs the elementwise Erf on a SIMD vector.
Parameters:
- type (
DType
): Thedtype
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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!