function
Library: Bessel functions (OMBESSEL legacy)
Include: ombessel.xin |
Returns: a Bessel function of the first kind: order 1 |
define external float function j1 value float x
Use j1 to calculate the Bessel function of the first kind (order 1) for any value of x.
Example:
include "ombessel.xin" process local float x initial {17.5} local float j1-bessel set j1-bessel to j1 (x) output "A j1 Bessel function of " || "d" % x || " = " || "d" % j1-bessel || "%n" ; Output: "A j1 Bessel function of 17.5 = -0.16341996942575"