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

y1

 
 

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

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


Declaration

  export external float function
       y1 value float x


Purpose

Use y1 to calculate the Bessel function of the second 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 y1-bessel
     set y1-bessel to y1 (x)
     output "A y1 Bessel function of "
         || "d" % x
         || " = "
         || "d" % y1-bessel
         || "%n"
  ; Output: "A y1 Bessel function of 17.5 = 0.098572798734216"

        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.