math.j0() function

The math.j0() function returns the order-zero Bessel function of the first kind.

*Output data type: Float*

  1. import "math"
  2. math.j0(x: 1.23)
  3. // Returns 0.656070571706025

Parameters

x

The value used in the operation.

*Data type: Float*

Special cases

  1. math.j0(x: ±Inf) // Returns 0
  2. math.j0(x: 0) // Returns 1
  3. math.j0(x: NaN) // Returns NaN