![]()  | 
 
  
  | 
||||
![]() ![]() ![]() ![]() ![]() ![]() ![]()  | 
    |||||
| 
 | 
||||||
| Other Library Functions | ||||||
| function | 
j0 | 
| 
Library: Bessel functions (OMBESSEL)
 Import: ombessel.xmd  | 
Return type: opaque Returns: A Bessel function of the first kind: order 0.  | 
export external float function
     j0 value float x
Use j0 to calculate the Bessel function of the first kind (order 0) for any value of x.
  import "ombessel.xmd" unprefixed
  import "omfloat.xmd" unprefixed
  process
     local float x initial {17.5}
     local float j0-bessel
     set j0-bessel to j0 (x)
     output "A j0 Bessel function of "
         || "d" % x
         || " = "
         || "d" % j0-bessel
         || "%n"
  ; Output: "A j0 Bessel function of 17.5 = -0.103110398228686"
| 
Other Library Functions | 
Copyright © Stilo International plc, 1988-2010.