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