Is there a way to access GAP's in function through Sage's C Interface to GAP?
gap> Identity(G) in G;
true
| 1 | initial version |
Is there a way to access GAP's in function through Sage's C Interface to GAP?
gap> Identity(G) in G;
true
Is there a way to access GAP's in function through Sage's C Interface to GAP?
gap> Identity(G) in G;
true
EDIT:
I was wondering how to call this from Sage:
sage: G = libgap.SymmetricGroup(5)
sage: g = libgap.eval('(1,2,3)(4,5)')
How do I test if g is in G?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.