Enum Class QuadratureType

java.lang.Object
java.lang.Enum<QuadratureType>
com.irurueta.numerical.integration.QuadratureType
All Implemented Interfaces:
Serializable, Comparable<QuadratureType>, Constable

public enum QuadratureType extends Enum<QuadratureType>
Indicates type of quadrature.
  • Enum Constant Details

    • TRAPEZOIDAL

      public static final QuadratureType TRAPEZOIDAL
      Trapezoidal quadrature. It's the simplest for general purpose integration.
    • MID_POINT

      public static final QuadratureType MID_POINT
      Mid-point quadrature. Allows singularities at integration bounds.
    • INFINITY_MID_POINT

      public static final QuadratureType INFINITY_MID_POINT
      Infinity mid-point. Allows upper bound to be infinity, or lower bound negative and infinity.
    • LOWER_SQUARE_ROOT_MID_POINT

      public static final QuadratureType 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

      public static final QuadratureType UPPER_SQUARE_ROOT_MID_POINT
      Upper square root mid-point. Allows a singularity of the integrand at the upper integration bound.
    • EXPONENTIAL_MID_POINT

      public static final QuadratureType 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

      public static final QuadratureType 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

      public static QuadratureType[] 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 QuadratureType 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