Skip to main content

Module solve

Module solve 

Source
Expand description

This module provides the facade entry points with auto policy selection. Facade entry points that auto-select the execution policy.

Mirrors solve.hpp in ginger-cpp and solve.py in ginger (Python): each solver exposes a facade that dispatches to the single-threaded, multi-threaded, or atomic variant based on the problem size (should_parallelize) or an explicit SolveMode.

Enums§

SolveMode
Execution policy selector for the solver facades.

Functions§

solve_aberth
Aberth-Ehrlich solver with automatic policy selection.
solve_aberth_autocorr
Aberth solver for autocorrelation polynomials.
solve_pbairstow_autocorr
Bairstow solver for autocorrelation polynomials with policy selection.
solve_pbairstow_even
Bairstow solver (even degree) with automatic policy selection.