math.j0() function

Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.50 is the most recent stable version of Flux.

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

Output data type: Float

import "math"

math.j0(x: 1.23)

// Returns 0.656070571706025

Parameters

x

The value used in the operation.

Data type: Float

Special cases

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