diff options
author | tomsmeding <tom.smeding@gmail.com> | 2019-07-16 21:57:21 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2019-07-16 21:57:29 +0200 |
commit | 3b1767a3f4fd2f0ff2b03d7daa9307fce115b5ea (patch) | |
tree | 6aeff844fb24693880ee9ae3b48cd9d3d7b9b6f1 /aberth/polygen.h | |
parent | 5e23e6b4986bb31e15e37309ee6b55224a4a630a (diff) |
Add support for Christensen in CPU aberth
Diffstat (limited to 'aberth/polygen.h')
-rw-r--r-- | aberth/polygen.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/aberth/polygen.h b/aberth/polygen.h index 1381444..b0022f1 100644 --- a/aberth/polygen.h +++ b/aberth/polygen.h @@ -18,8 +18,21 @@ namespace PolyGen { Poly atIndex(int index); - vector<Job> genJobs(int targetJobs); + int numPolys(); + } + + namespace Christensen { + constexpr int kCoeffBound = 4; + + // Returns whether we just looped around + bool next(Poly &poly); + + Poly atIndex(int index); + + int numPolys(); } using namespace Derbyshire; + + vector<Job> genJobs(int targetJobs); } |