Struct GKIntegrationInterval

Struct Documentation

struct GKIntegrationInterval

The outcome of applying a single Gauss-Kronrod rule to one interval.

What GKIntegrator::quadSingle() returns, and what GKIntegrator::integrate() bisects and re-integrates as it adaptively refines the overall integration domain – see both of their own comments.

Public Members

double a_

Lower limit of this interval

double b_

Upper limit of this interval

std::vector<double> quad_

The Kronrod rule’s own quadrature estimate over [a_, b_], one value per quantity f_ returns

std::vector<double> err_

This interval’s own error estimate, one value per quantity f_ returns – see quadSingle()’s own comment for how