55 for (
const auto coeff : coeffs) {
56 scale = std::max(scale, std::abs(coeff));
double tol_ind
Definition config.hpp:26
unsigned int max_iters
Definition config.hpp:24
double tolerance
Definition config.hpp:25
Options for convergence-based algorithms.
Definition aberth.hpp:13
auto should_parallelize(std::size_t num_roots) -> bool
Whether num_roots should use the multi-threaded execution policy.
Definition config.hpp:33
auto residual_scale(const std::vector< double > &coeffs) -> double
Normalisation factor making the convergence test scale-invariant.
Definition config.hpp:53
constexpr std::size_t PARALLEL_THRESHOLD
Number of roots above which the multi-threaded policies are used by default.
Definition config.hpp:30