Enum Class QuadratureType
- All Implemented Interfaces:
Serializable
,Comparable<QuadratureType>
,Constable
Indicates type of quadrature.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDouble exponential rule.Exponential mid-point quadrature.Infinity mid-point.Lower square root mid-point.Mid-point quadrature.Trapezoidal quadrature.Upper square root mid-point. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QuadratureType
Returns the enum constant of this class with the specified name.static QuadratureType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRAPEZOIDAL
Trapezoidal quadrature. It's the simplest for general purpose integration. -
MID_POINT
Mid-point quadrature. Allows singularities at integration bounds. -
INFINITY_MID_POINT
Infinity mid-point. Allows upper bound to be infinity, or lower bound negative and infinity. -
LOWER_SQUARE_ROOT_MID_POINT
Lower square root mid-point. Allows a singularity of the integrand at the lower integration bound. -
UPPER_SQUARE_ROOT_MID_POINT
Upper square root mid-point. Allows a singularity of the integrand at the upper integration bound. -
EXPONENTIAL_MID_POINT
Exponential mid-point quadrature. Allows integration from a lower bound up to infinity when the integrand falls off exponentially. -
DOUBLE_EXPONENTIAL_RULE
Double exponential rule. Allows integration when there are singularities at integration bounds with fast convergence.
-
-
Constructor Details
-
QuadratureType
private QuadratureType()
-
-
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
-