Opened 9 years ago

Last modified 9 years ago

#14833 closed enhancement

Make choosing irreducible polynomials independent of finite field implementations — at Version 1

Reported by: Peter Bruin Owned by: Clément Pernet
Priority: major Milestone: sage-5.12
Component: finite rings Keywords: polynomials
Cc: Xavier Caruso Merged in:
Authors: Peter Bruin Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #14832 Stopgaps:

Status badges

Description (last modified by Peter Bruin)

This patch makes the FiniteField constructor call the implementation-independent code for choosing irreducible polynomials from #14832.

With this patch, the generic constructor always passes an actual polynomial (not a string specifiying an algorithm to construct one) to the finite field implementation class. For backwards compatibility, the existing classes still recognise a string modulus. Checking if the finite field is a Conway polynomial is now done by an implementation-independent function.

This will be a dependency of #12142.

Apply: trac_14833_finite_fields_polynomial_choice.patch

Change History (1)

comment:1 Changed 9 years ago by Peter Bruin

Description: modified (diff)
Status: newneeds_review
Note: See TracTickets for help on using tickets.