Dear Simon,
The main problem is that G is a gap group and not a libgap
group. By gap group I mean that the interface going through
the pexpect interface. The two systems gap and libgap do not
seem to share the namespaces (which make sense).
For example, this does work
sage: gap(g1)
f1
but this does not
sage: libgap(g1)
Traceback (most recent call last):
...
ValueError: libGAP: Error, Variable: 'f1' must have a value
Best
Vincent
Le 30/09/2018 à 02:32, Simon King a écrit :
Here is another question on libgap: Let some libgap elements be given;
how to form the list of these elements in libgap? The purpose would, for
example, be to create a group from that list.
For instance:
sage: G = gap.SmallGroup(48,36)
sage: g1,g2,g3,g4,g5 = G.GeneratorsOfGroup()
Since G is a polycyclic group, its generators look not very informative,
but in any case they are valid elements in libgap:
sage: g1*g2,g1*g2*g3,g4
(f1*f2, f1*f2*f3, f4)
Nonetheless, the following doesn't work:
sage: libgap.List(g1*g2,g1*g2*g3,g4)
Traceback (most recent call last):
...
ValueError: libGAP: Error, Variable: 'f1' must have a value
What to do instead?
Best regards,
Simon
--
You received this message because you are subscribed to the Google Groups
"sage-support" 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 https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.