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

Unclear definition of degree for finite fields (and maybe more) #1412

Open
fingolfin opened this issue Mar 12, 2023 · 2 comments
Open

Unclear definition of degree for finite fields (and maybe more) #1412

fingolfin opened this issue Mar 12, 2023 · 2 comments

Comments

@fingolfin
Copy link
Member

  degree(R::GFField)

  Return the degree of the given finite field.

  ───────────────────────────────────────────────────────────────────────────────────────

  degree(a::FqPolyRepField)

  Return the degree of the given finite field.

  ───────────────────────────────────────────────────────────────────────────────────────

  degree(a::FqField)

  Return the degree of the given finite field.

There may be more

But degree over what? The prime field? Then it should say so. Or over some other field? Then it should say which it is.

I am guessing the intention is for it to not necessarily being over the prime field, because there is also this:

  absolute_degree(a::FqField)

  Return the degree of the given finite field over the prime field.

In addition to clarifying what degree does, I think it would also be good if degree had a reference to total_degree and vice versa.

Maybe @mgkurtz can work on that, once we know what these should say (which I hope @thofma or @fieker will tell us)

@fieker
Copy link
Contributor

fieker commented Mar 12, 2023 via email

@thofma
Copy link
Member

thofma commented Mar 15, 2023

I am adding documentation in #1411

P.S.: But only for FqField. No one should spend time on the other finite fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants