swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
      Other Library Functions  
function   jn    

Library: ombessel - Bessel functions
Include: ombessel.xin
Return type: Opaque
Returns:       

A Bessel function of the first kind: order n.


Declaration

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


Purpose

Use jn to calculate the Bessel function of the first 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 jn-bessel
     set jn-bessel to jn (x, y)
     output "A jn Bessel function of the first kind, order "
         || "d" % x
         || ", of "
         || "d" % y
         || " = "
         || "d" % jn-bessel
         || "%n"
  ; Output: "A jn Bessel function of the first kind, order 2, of 17.5 = 0.084433830294314"

        Other Library Functions
   j0
   j1
   jn
   y0
   y1
   yn
 
----  

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

Generated: August 11, 2000 at 3:07:26 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.