swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
      Other Library Functions  
function  

y0

 
 

Library: Bessel functions (OMBESSEL)
Import: ombessel.xmd
Return type: OMX

Returns: A Bessel function of the second kind: order 0. Returns NaN for values of x that are <= 0.


Declaration

define external float function
     y0 value float x


Purpose

Use y0 to calculate the Bessel function of the second kind (order 0) for any value of x.

Example:


  import "ombessel.xmd" unprefixed
  import "omfloat.xmd" unprefixed
  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"

        Other Library Functions
   j0
   j1
   jn
   y0
   y1
   yn
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.