Package jdistlib.math

Enum Class IntegrationOptions.Method

java.lang.Object
java.lang.Enum<IntegrationOptions.Method>
jdistlib.math.IntegrationOptions.Method
All Implemented Interfaces:
Serializable, Comparable<IntegrationOptions.Method>, Constable
Enclosing class:
IntegrationOptions

public static enum IntegrationOptions.Method extends Enum<IntegrationOptions.Method>
Available integration strategies.
  • Enum Constant Details

    • QUADPACK

      public static final IntegrationOptions.Method QUADPACK
      QUADPACK DQAGS/DQAGI, matching the historical implementation.
    • CQUAD

      public static final IntegrationOptions.Method CQUAD
      Doubly-adaptive Clenshaw-Curtis quadrature on finite intervals.
    • TANH_SINH

      public static final IntegrationOptions.Method TANH_SINH
      Double-exponential tanh-sinh quadrature for finite intervals.
    • DOUBLE_EXPONENTIAL

      public static final IntegrationOptions.Method DOUBLE_EXPONENTIAL
      Double-exponential tanh-sinh, exp-sinh, or sinh-sinh quadrature, selected according to the interval bounds.
    • AUTO

      public static final IntegrationOptions.Method AUTO
      QUADPACK with CQUAD and double-exponential fallbacks.
  • Method Details

    • values

      public static IntegrationOptions.Method[] 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

      public static IntegrationOptions.Method valueOf(String name)
      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 name
      NullPointerException - if the argument is null