#14913: Add GroupMixinLibGAP as a base class for finitely presented groups
-------------------------------------------------+-------------------------
Reporter: dshurbert | Owner:
Type: enhancement | Status:
Priority: minor | needs_work
Component: group theory | Milestone:
Keywords: group presentations | Resolution:
Authors: Davis Shurbert | Merged in:
Report Upstream: Reported upstream. No | Reviewers: Volker
feedback yet. | Braun
Branch: | Work issues:
Stopgaps: | Dependencies:
-------------------------------------------------+-------------------------
Comment (by dshurbert):
Added {{{check=True}}} as last argument for
{{{FinitelyPresentedGroupElement}}} python constructor. Adding this
argument to {{{__init__}}} for {{{FinitelyPresentedGroup}}} did not appear
to have the desired affect. The examples below now run smoothly.
{{{
sage: G = FreeGroup("a")
sage: F = G / [G([1,1,1,1,1])]
sage: F.is_abelian()
True
sage: F.order()
5
sage: [i for i in F]
[1, a, a^-1, a^2, a^-2]
sage: F([1,1,1]).inverse()
a^-3
sage: F([1,1,1]).inverse() in F
True
}}}
Is this what you meant by adding the {{{check=<bool>}}} argument? If so
then ready for review.
--
Ticket URL: <http://trac.sagemath.org/ticket/14913#comment:12>
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 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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.