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

yn

 
 

Library: Math - Bessel functions (OMBESSEL) legacy
Include: ombessel.xin
Return type: OMX
Returns: 

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


Declaration

  define external float function
       yn (value integer n, value float x)


Purpose

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

Example:

  include "ombessel.xin"
  process
     local integer x initial {2}
     local float y initial {17.5}
     local float yn-bessel
     set yn-bessel to yn (x, y)
     output "A yn Bessel function of the first kind, order "
         || "d" % x
         || ", of "
         || "d" % y
         || " = "
         || "d" % yn-bessel
         || "%n"
  ; Output: "A yn Bessel function of the first kind, order 2, of 17.5 = 0.171676655217493"

        Other Library Functions
   j0
   j1
   jn
   y0
   y1
   yn
 
 

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

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:46:09 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.