#6391: libGAP! -- create a Cython library interface to gap
---------------------------+------------------------------------------------
Reporter: was | Owner: was
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.7
Component: interfaces | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by dimpase):
Replying to [comment:44 vbraun]:
> Newest version can convert various GAP datatypes back to Sage, for
example cyclotomic numbers
> {{{
> sage: libgap('5/3 + 7*E(3)').sage()
> 7*zeta3 + 5/3
> }}}
> and permutations:
> {{{
> sage: generators = libgap.AlternatingGroup(4).GeneratorsOfGroup().sage()
> sage: generators # a Sage list of Sage permutations!
> [(1,2,3), (2,3,4)]
> sage: PermutationGroup(generators).cardinality() # computed in Sage
> 12
> sage: libgap.AlternatingGroup(4).Size() # computed in GAP
> 12
> }}}
This sounds great! What about matrices?
(it would be even better if there was a well-explained in docs
implementation example of such a conversion).
E.g. for my work I need to convert GAP matrices (or non-standard sparse
GAP matrices) into CVXOPT matrices.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6391#comment:45>
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.