num::contour_rule¶
Defined in header <quadrature/concepts.hpp>
template <class R, class T = real>
concept contour_rule = field<T> && requires(const R &rule, T t) {
{ rule.nodes(t) };
};
Rule supplying nodes \(s_k\) and weights \(w_k\) on a complex contour.
Used for inverse Laplace transforms, where the integral runs along a contour rather than an interval. The rule never sees the integrand: the caller evaluates the transform at each node and accumulates.