next up previous 623
Next: SCULIB_BITON - turn on a bit
Up: Library APIs
Previous: SCULIB_BESSEL_WTINIT - Generate a weighting function for rebinning


SCULIB_BESSJ1 - calculates Bessel function J1(x)

Description:
If status is good on entry this function returns the Bessel function J1(x) for any real x.

Invocation:
Y = SCULIB_BESSJ1 (X, STATUS)

Arguments:

X = REAL (Given)
the argument of the J1 Bessel function
STATUS = INTEGER (Given and returned)
global status

Returned Value:

SCULIB_BESSJ1 = REAL
Bessel function J1(X)

Notes:
Probably should be changed to use PDA_DBESJ1 (SUN/194). That routine is DOUBLE PRECISION.
Method
Uses an algorithm from Numerical Recipes in Fortran.
Copyright
Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.


next up previous 623
Next: SCULIB_BITON - turn on a bit
Up: Library APIs
Previous: SCULIB_BESSEL_WTINIT - Generate a weighting function for rebinning

SURF Programming Interface
Starlink System Note 72
Tim Jenness, John F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
10 July 2000
E-mail:ussc@star.rl.ac.uk

Copyright © 2010 Science and Technology Facilities Council