Package jdistlib.math
Enum Class IntegrationOptions.Method
- All Implemented Interfaces:
Serializable,Comparable<IntegrationOptions.Method>,Constable
- Enclosing class:
IntegrationOptions
Available integration strategies.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionQUADPACK with CQUAD and double-exponential fallbacks.Doubly-adaptive Clenshaw-Curtis quadrature on finite intervals.Double-exponential tanh-sinh, exp-sinh, or sinh-sinh quadrature, selected according to the interval bounds.QUADPACK DQAGS/DQAGI, matching the historical implementation.Double-exponential tanh-sinh quadrature for finite intervals. -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegrationOptions.MethodReturns the enum constant of this class with the specified name.static IntegrationOptions.Method[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUADPACK
QUADPACK DQAGS/DQAGI, matching the historical implementation. -
CQUAD
Doubly-adaptive Clenshaw-Curtis quadrature on finite intervals. -
TANH_SINH
Double-exponential tanh-sinh quadrature for finite intervals. -
DOUBLE_EXPONENTIAL
Double-exponential tanh-sinh, exp-sinh, or sinh-sinh quadrature, selected according to the interval bounds. -
AUTO
QUADPACK with CQUAD and double-exponential fallbacks.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-