#7890: [new] Improve conversion of GAP objects into sage objects.
--------------------------+-------------------------------------------------
Reporter: jlopez | Owner: was
Type: defect | Status: new
Priority: major | Milestone:
Component: interfaces | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
--------------------------+-------------------------------------------------
As of now, certain kinds of sage objects can be converted into GAP
objects, but the resulting GAP objects cannot be converted back to sage
objects.
Examples of this are matrices over finite fields:
{{{
sage: g = matrix(GF(5),2,[1,2, -1, 1])
sage: gg = g._gap_()
sage: gg.sage()
---------------------------------------------------------------------------
NotImplementedError
}}}
{{{
sage: a = gap('E(9)')
sage: a
-E(9)^4-E(9)^7
sage: a.sage()
---------------------------------------------------------------------------
NotImplementedError
}}}
Being able to translate gap field elements into sage ones would help
accesing GAP character tables, and a good conversion of matrices would
allow many methods to be available for matrix groups.
See this thread at sage devel for more details:
http://groups.google.com/group/sage-
devel/browse_thread/thread/a04006e5da578bd
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7890>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.