Class Airy
java.lang.Object
org.opensourcephysics.numerics.specialfunctions.Airy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doubleairy(double x) Computes the Airy function at x.static doubleairyDerivative(double x) Computes the derivative of the Airy function at x.static double[]airynZeros(int nt) Gets nt zeroes of Airy functionstatic doubleairyZero(int n) Computes the n-th zero of the Airy function.static FunctionGets the singleton derivative of the Airy function.static FunctionGets the singleton Airy function.
-
Constructor Details
-
Airy
public Airy()
-
-
Method Details
-
airy
public static double airy(double x) Computes the Airy function at x.- Parameters:
x-- Returns:
-
airyDerivative
public static double airyDerivative(double x) Computes the derivative of the Airy function at x.- Parameters:
x-- Returns:
-
airyZero
public static double airyZero(int n) Computes the n-th zero of the Airy function.- Parameters:
n-- Returns:
-
airynZeros
public static double[] airynZeros(int nt) Gets nt zeroes of Airy function- Parameters:
nt-- Returns:
-
getFunction
Gets the singleton Airy function. -
getDerivative
Gets the singleton derivative of the Airy function.- Returns:
- the derivative
-