#19531: Add conversion from fields to binary-like strings
-------------------------------------------------+-------------------------
Reporter: tgagne | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.10
Component: finite rings | Resolution:
Keywords: finite field, hex strings, | Merged in:
binary strings | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Comment (by jdemeyer):
Replying to [comment:8 nbruin]:
> Surely we'd need it to bring agreement with
> {{{
> sage: list(GF(2^8,name="a"))[9]
> a^5 + a^4 + a^3 + a
> }}}
Bringing two things in arrangement can be solved by changing either of the
two things. My vote would be on changing `list(GF(q, impl="givaro"))`
since it's implementation-dependent:
{{{
sage: list(GF(8, 'a', impl="givaro"))
[0, a, a^2, a + 1, a^2 + a, a^2 + a + 1, a^2 + 1, 1]
sage: list(GF(8, 'a', impl="ntl"))
[0, 1, a, a + 1, a^2, a^2 + 1, a^2 + a, a^2 + a + 1]
}}}
{{{
sage: list(GF(13, 'a', impl="givaro"))
[0, 2, 4, 8, 3, 6, 12, 11, 9, 5, 10, 7, 1]
sage: list(GF(13, 'a', impl="modn"))
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19531#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.