Class Bessel

java.lang.Object
com.softsynth.jmsl.util.Bessel

public class Bessel
extends java.lang.Object
Nick Didkovsky 12/9/98 11:41PM
Calculate Bessel Functions.  Algorithms from NUMERICAL RECIPES IN C: THE ART OF SCIENTIFIC COMPUTING (ISBN 0-521-43108-5)
Copyright (C) 1988-1992 by Cambridge University Press.
To order Numerical Recipes books,diskettes, or CDROMs
visit website http://www.nr.com or call 1-800-872-7423 (North America only)

Adapted from C source by ND
Author:
Nick Didkovsky
  • Constructor Summary

    Constructors
    Constructor Description
    Bessel()  
  • Method Summary

    Modifier and Type Method Description
    static double bessj​(int n, double x)
    Returns the Bessel function J n (x) for any real x and n > 2.
    static double bessj0​(double x)
    Returns the Bessel function J0(x) for any real x.
    static double bessj1​(double x)
    Returns the Bessel function J1(x) for any real x.
    static void main​(java.lang.String[] args)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Bessel

      public Bessel()
  • Method Details

    • bessj0

      public static double bessj0​(double x)
      Returns the Bessel function J0(x) for any real x.
    • bessj1

      public static double bessj1​(double x)
      Returns the Bessel function J1(x) for any real x.
    • bessj

      public static double bessj​(int n, double x)
      Returns the Bessel function J n (x) for any real x and n > 2.
      IMPORTANT! If n=0 or n=1, use bessj0() or bessj1()
    • main

      public static void main​(java.lang.String[] args)