Skip to content

num::roots::debug::verify_bracket

Defined in header <roots/debug.hpp>

template <class F, class T = real>
requires scalar_function<F, T>
void verify_bracket(F &&f, T a, T b, call_site site = {});

Check that an interval brackets a root: \(f(a) f(b) < 0\).