docs-v2/content/v2.0/reference/flux/functions/math/jn.md

614 B

title description menu weight
math.jn() function The math.jn() function returns the order-n Bessel function of the first kind.
v2_0_ref
name parent
math.jn Math
301

The math.jn() function returns the order-n Bessel function of the first kind.

Output data type: Float

import "math"

math.jn(n: 2, x: 1.23)

// Returns 0.16636938378681407

Parameters

n

The order number.

Data type: Integer

x

The value used in the operation.

Data type: Float

Special cases

math.jn(n:n, x: ±Inf) // Returns 0
math.jn(n:n, x: NaN)  // Returns NaN