math.yn() function

The math.yn() function returns the order-n Bessel function of the second kind.

Output data type: Float

import "math"

math.yn(n: 3, x: 3.14)

// Returns -0.4866506930335083



The order number used in the operation.


The value used in the operation.

Special cases

math.yn(n:n, x: +Inf) // Returns 0
math.yn(n: 0, x: 0)  // Returns -Inf
math.yn(n: <0, x: 0)  // Returns +Inf if n is odd, -Inf if n is even
math.yn(n:n, x: <0)   // Returns NaN
math.yn(n:n, x:NaN)   // Returns NaN

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.