org.opensourcephysics.numerics.specialfunctions
Class Bessel

java.lang.Object
  extended by org.opensourcephysics.numerics.specialfunctions.Bessel

public class Bessel
extends java.lang.Object


Constructor Summary
Bessel()
           
 
Method Summary
static double bessel0(double x)
           
static double bessel1(double x)
           
static double besseln(int n, double x)
          Computes the Bessel function of order n at x.
static double besselnDerivative(int n, double x)
          Computes the derivative of the Bessel function of order n at x.
static double[] besselnZeros(int n, int nt)
          Computes nt zeroes of the n-th order Bessel function
static Function getDerivative(int n)
          Gets the derivative of the Bessel function with the given order.
static Function getFunction(int n)
          Gets the Bessel function with the given order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bessel

public Bessel()
Method Detail

getFunction

public static Function getFunction(int n)
Gets the Bessel function with the given order.


getDerivative

public static Function getDerivative(int n)
Gets the derivative of the Bessel function with the given order.


besseln

public static double besseln(int n,
                             double x)
Computes the Bessel function of order n at x.

Parameters:
n -
x -
Returns:

besselnDerivative

public static double besselnDerivative(int n,
                                       double x)
Computes the derivative of the Bessel function of order n at x.

Parameters:
n -
x -
Returns:

besselnZeros

public static double[] besselnZeros(int n,
                                    int nt)
Computes nt zeroes of the n-th order Bessel function

Parameters:
n -
nt -
Returns:

bessel0

public static double bessel0(double x)

bessel1

public static double bessel1(double x)