Skip to content

reduce finite field implementations #2384

Closed
@malb

Description

[Tue Mar 4 2008] [05:06:54] <dmharvey>  how many finite field implementations do we have?
[Tue Mar 4 2008] [05:06:56] <dmharvey>  it's crazy.

I propose:

  • implement FiniteField_ntl which covers ntl.GF2E, ntl.ZZ_pE and ntl.lzz_pE via a bunch of function pointers. This introduces a pointer dereference as overhead but this should be relatively cheap compared to the actual operations (small fields are implemented via Givaro anyway).
  • kill FiniteField_ext_pari

This would leave us with two implementations: one for small extension fields and one for larger (in terms of the order)

CC: @sagetrac-dmharvey @ncalexan @koffie

Component: basic arithmetic

Issue created by migration from https://trac.sagemath.org/ticket/2384

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions