-
-
Notifications
You must be signed in to change notification settings - Fork 453
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
Improve conversion of GAP objects into sage objects. #7890
Comments
Added a |
comment:1
Attachment: 13590.patch.gz |
Author: Javier López Peña |
Conversion for finite and cyclotomic fields and their elements. |
comment:2
Attachment: 13591.patch.gz The patches should be applied in order. |
Simplification of one of the previous functions |
Attachment: 13592.patch.gz Further simplifications and merging. Apply only this patch. |
comment:3
Attachment: gap_to_sage.patch.gz Last patch applied fine to sage-4.3.a0 on a 64bit ubuntu machine, but the following tests failed:
|
comment:4
Hi Javier, What are your intentions regarding #7890 -- William |
comment:5
Hi William, yeah, sorry about that. I changed jobs in 2010 and my whole work plan went south. Probably a better approach would be to provide an optional argument
In this way, anyone creating a sage structure could implement their own "take an element from gap here" function rather than mess up with the interface. How does that sound? In any case it might make sense to wait a little bit and get GAP 4.5 working first, as it seems the representation of some objects has changed. |
comment:6
Hello, With #18152, it works fine for cyclotomic elements (because I introduced a function
Vincent |
comment:7
Note that with the new
|
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:
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
Component: interfaces
Author: Javier López Peña
Issue created by migration from https://trac.sagemath.org/ticket/7890
The text was updated successfully, but these errors were encountered: