python-flint icon indicating copy to clipboard operation
python-flint copied to clipboard

fix(nmod): Add nmod_ctx to store is_prime

Open oscarbenjamin opened this issue 1 year ago • 19 comments

Work in progress...

Fixes gh-124 Fixes gh-73

Have nmod use a context object so that we can store the additional information that the modulus is prime to avoid operations that might fail for non-prime modulus (gh-124).

oscarbenjamin avatar Aug 09 '24 00:08 oscarbenjamin