Class Bessel
java.lang.Object
org.opensourcephysics.numerics.specialfunctions.Bessel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 functionstatic 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.
-
Constructor Details
-
Bessel
public Bessel()
-
-
Method Details
-
getFunction
Gets the Bessel function with the given order. -
getDerivative
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)
-