Class Bessel
java.lang.Object
org.opensourcephysics.numerics.specialfunctions.Bessel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublebessel0(double x) static doublebessel1(double x) static doublebesseln(int n, double x) Computes the Bessel function of order n at x.static doublebesselnDerivative(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 FunctiongetDerivative(int n) Gets the derivative of the Bessel function with the given order.static FunctiongetFunction(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)
-