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

j1

 
 

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

Returns: A Bessel function of the first kind: order 1.


Declaration

export external float function
     j1 value float x


Purpose

Use j1 to calculate the Bessel function of the first kind (order 1) for any value of x.

Example:


  import "ombessel.xmd" unprefixed
  import "omfloat.xmd" unprefixed
  process
     local float x initial {17.5}
     local float j1-bessel
     set j1-bessel to j1 (x)
     output "A j1 Bessel function of "
         || "d" % x
         || " = "
         || "d" % j1-bessel
         || "%n"
  ; Output: "A j1 Bessel function of 17.5 = -0.16341996942575"

      Other Library Functions
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.