Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include the fq_default type #97

Merged
merged 40 commits into from
Aug 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
1bd96ee
Add a VERY rough start on adding fq
GiacomoPope Oct 19, 2023
2488e5f
Merge branch 'flintlib:master' into add_fq
GiacomoPope Oct 19, 2023
20aa30b
Merge branch 'master' into add_fq
GiacomoPope Jan 17, 2024
277794f
Merge branch 'master' into add_fq
GiacomoPope Aug 5, 2024
942152a
Merge branch 'master' into add_fq
GiacomoPope Aug 5, 2024
3d637f6
further work on fq_default with luca de feo
GiacomoPope Aug 6, 2024
b728899
add line to meson build
GiacomoPope Aug 6, 2024
c8fe699
more boilerplate code
GiacomoPope Aug 6, 2024
1307116
add fq_default to the doctests
GiacomoPope Aug 7, 2024
6bf96a7
start on type conversions and comparisons
GiacomoPope Aug 7, 2024
7e68a0c
untested arithemtic
GiacomoPope Aug 7, 2024
7347924
begin adding tests
GiacomoPope Aug 7, 2024
49b882c
clean up enum name, maybe a little hacky...
GiacomoPope Aug 7, 2024
ad5be0b
attempt to fix doctests for all versions
GiacomoPope Aug 7, 2024
ece8c45
add docstrings
GiacomoPope Aug 7, 2024
273deee
remove trailing whitespace
GiacomoPope Aug 7, 2024
78a42dd
remove unused var
GiacomoPope Aug 7, 2024
6e71a59
include equality tests
GiacomoPope Aug 7, 2024
44c3186
move more boilerplate into the flint_base
GiacomoPope Aug 7, 2024
9da32da
remove parsing of list to self in any_to...
GiacomoPope Aug 7, 2024
3c93c45
add to_list method and repr function
GiacomoPope Aug 7, 2024
0a9d276
add tests for fq_default init from context
GiacomoPope Aug 7, 2024
eca0210
some small clean up across the file
GiacomoPope Aug 7, 2024
f2443f8
refactor equality and coercion
GiacomoPope Aug 8, 2024
915837e
attempt to include is_primitive
GiacomoPope Aug 9, 2024
83f2179
use union instead of struct
GiacomoPope Aug 9, 2024
525883f
comment out broken function
GiacomoPope Aug 9, 2024
812fea4
make is_primitive work
GiacomoPope Aug 9, 2024
ef2136a
broken refactor; need help
GiacomoPope Aug 9, 2024
172c9d8
remove is_primitive and modify base template
GiacomoPope Aug 9, 2024
ce8cd4d
modify _arith_ to use cpdef
GiacomoPope Aug 9, 2024
ee4ae24
fix some but not all reviewer comments -- need to stop for the day
GiacomoPope Aug 9, 2024
38b6ce1
change docstrings for the type stuff
GiacomoPope Aug 9, 2024
52f8847
ensure the modulus matches for scalar coercion
GiacomoPope Aug 9, 2024
66c54f4
use try / except for slong conversion
GiacomoPope Aug 9, 2024
163f7cc
move docstring to class
GiacomoPope Aug 9, 2024
e32a6dd
refactor out where the dict is for types
GiacomoPope Aug 9, 2024
876fd2a
move docstring
GiacomoPope Aug 9, 2024
e79b397
add docs
GiacomoPope Aug 9, 2024
f789f22
check modulus for nmod_poly and fmpz_mod_poly
GiacomoPope Aug 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add docs
GiacomoPope committed Aug 9, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit e79b3974854ad5c631b309b5a5796a883680779e
8 changes: 8 additions & 0 deletions doc/source/fq_default.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
**fq_default** -- finite fields
===============================================================================

.. autoclass :: flint.fq_default
:members:
:inherited-members:
:undoc-members:
1 change: 1 addition & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
@@ -45,6 +45,7 @@ Scalar types
fmpq.rst
fmpz_mod.rst
nmod.rst
fq_default.rst
arb.rst
acb.rst
dirichlet.rst