Skip to main content

Mojo function

y1

y1[dtype: DType, width: Int, //](x: SIMD[dtype, width]) -> SIMD[dtype, width]

Computes the Bessel function of the second kind of order 1 for each input value.

Constraints:

The input must be a floating-point type.

Parameters:

  • dtype (DType): The dtype of the input and output SIMD vector.
  • width (Int): The width of the input and output SIMD vector.

Args:

  • x (SIMD[dtype, width]): The input vector.

Returns:

A vector containing the computed value for each value in the input.

Was this page helpful?