|
Ginger 1.1.11
|
Algorithm options (max iterations, tolerance). More...
#include <algorithm>#include <cmath>#include <cstddef>#include <vector>Go to the source code of this file.
Classes | |
| class | ginger::Options |
Namespaces | |
| namespace | ginger |
| Options for convergence-based algorithms. | |
Functions | |
| auto | ginger::should_parallelize (std::size_t num_roots) -> bool |
| Whether num_roots should use the multi-threaded execution policy. | |
| auto | ginger::residual_scale (const std::vector< double > &coeffs) -> double |
| Normalisation factor making the convergence test scale-invariant. | |
Variables | |
| constexpr std::size_t | ginger::PARALLEL_THRESHOLD = 4 |
| Number of roots above which the multi-threaded policies are used by default. | |
Algorithm options (max iterations, tolerance).