function
Library: Bessel functions (OMBESSEL legacy)
Include: ombessel.xin |
Returns: a Bessel function of the second kind: order 0, NaN for values of x that are <= 0 |
define external float function y0 value float x
Use y0 to calculate the Bessel function of the second kind (order 0) for any value of x.
Example:
include "ombessel.xin" process local float x initial {17.5} local float y0-bessel set y0-bessel to y0 (x) output "A y0 Bessel function of " || "d" % x || " = " || "d" % y0-bessel || "%n" ; Output: "A y0 Bessel function of 17.5 = -0.160411192505011"