math.jn() function
math.jn()
returns the order-n Bessel function of the first kind.
Function type signature
(n: int, x: float) => float
Parameters
n
(Required) Order number.
x
(Required) Value to operate on.
Examples
Return the order-n Bessel function of a value
import "math"
math.jn(n: 2, x: 1.23)// 0.16636938378681407
Use math.jn in map
import "sampledata"
import "math"
sampledata.float()
|> map(fn: (r) => ({r with _value: math.jn(n: 4, x: r._value)}))
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.