Enum GKOrder

Enum Documentation

enum class utils::GKOrder : std::uint8_t

Selects which Gauss-Kronrod pair GKIntegrator uses.

Each enumerator names a (2n+1)-point Kronrod rule paired with its embedded n-point Gauss rule, exactly as the GSL’s own gsl_integration_qagNN family does (e.g. GK15 is the pairing gsl_integration_qk15 uses) – see GKRule’s own comment for where each pair’s actual abscissae/weights come from. A higher-order pair uses more points per subinterval, converging in fewer adaptive subdivisions for a smooth integrand, at the cost of more integrand evaluations (and more of F’s own shared work repeated) per subdivision actually taken.

Values:

enumerator GK15

15-point Kronrod rule, embedding a 7-point Gauss rule

enumerator GK21

21-point Kronrod rule, embedding a 10-point Gauss rule

enumerator GK31

31-point Kronrod rule, embedding a 15-point Gauss rule

enumerator GK41

41-point Kronrod rule, embedding a 20-point Gauss rule

enumerator GK51

51-point Kronrod rule, embedding a 25-point Gauss rule

enumerator GK61

61-point Kronrod rule, embedding a 30-point Gauss rule