-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add LUTs for high degree primitive polynomials from Wolfram's database - Add test_minimum_terms_from_database with a timeout=1s
- Loading branch information
Showing
3 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
""" | ||
A module containing LUTs for primitive polynomials with min terms from primitive_polys.db | ||
""" | ||
|
||
# LUT items are poly nonzero degrees and coefficients in degree-descending order | ||
|
||
# Wolfram's database | ||
# LUT items picked from `ResourceData["Primitive Polynomials"]` using Mathematica 13.2 | ||
|
||
PRIMITIVE_POLY_MIN_TERMS_2_723 = [[723, 16, 13, 6, 0], [1, 1, 1, 1, 1]] | ||
PRIMITIVE_POLY_MIN_TERMS_2_936 = [[936, 16, 13, 7, 0], [1, 1, 1, 1, 1]] | ||
PRIMITIVE_POLY_MIN_TERMS_2_1056 = [[1056, 14, 9, 6, 0], [1, 1, 1, 1, 1]] | ||
PRIMITIVE_POLY_MIN_TERMS_2_1200 = [[1200, 23, 8, 5, 0], [1, 1, 1, 1, 1]] | ||
|
||
PRIMITIVE_POLY_MIN_TERMS_3_399 = [[399, 181, 0], [1, 2, 1]] | ||
PRIMITIVE_POLY_MIN_TERMS_3_422 = [[422, 287, 3, 0], [1, 1, 1, 2]] | ||
PRIMITIVE_POLY_MIN_TERMS_3_549 = [[549, 77, 0], [1, 2, 1]] | ||
PRIMITIVE_POLY_MIN_TERMS_3_660 = [[660, 329, 37, 0], [1, 1, 1, 2]] | ||
|
||
PRIMITIVE_POLY_MIN_TERMS_5_296 = [[296, 10, 1, 0], [1, 4, 1, 2]] | ||
PRIMITIVE_POLY_MIN_TERMS_5_357 = [[357, 176, 0], [1, 3, 2]] | ||
PRIMITIVE_POLY_MIN_TERMS_5_404 = [[404, 43, 1, 0], [1, 4, 1, 2]] | ||
PRIMITIVE_POLY_MIN_TERMS_5_430 = [[430, 7, 1, 0], [1, 3, 2, 2]] | ||
|
||
PRIMITIVE_POLY_MIN_TERMS_7_129 = [[129, 3, 1, 0], [1, 5, 1, 2]] | ||
PRIMITIVE_POLY_MIN_TERMS_7_195 = [[195, 20, 1, 0], [1, 6, 1, 2]] | ||
PRIMITIVE_POLY_MIN_TERMS_7_284 = [[284, 5, 1, 0], [1, 3, 3, 3]] | ||
PRIMITIVE_POLY_MIN_TERMS_7_357 = [[357, 25, 1, 0], [1, 4, 3, 4]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters