#14291: Orbits of tuples and sets
---------------------------------+------------------------------------------
Reporter: ncohen | Owner: joyner
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.9
Component: group theory | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Nathann Cohen | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Comment (by ncohen):
> Can't you typify the domain elements somehow, so that they are
recognised as atoms without this kind of problem? (Or mangle them by some
other means...)
Hmmmmmmmmm.... I have no idea how, an I would hate to have to use the
Parent/Element stuff to do that `:-P`
Well, I guess the best is to do as you first did and to split according to
the value of `action`.
By the way, I noticed in the code source of `Graph.is_edge_transitive` a
trick we could use there :
{{{
"OrbitLength("+str(A._gap_())+",Set(" + str(e) + "),OnSets);"
}}}
If we wrap the lists with a Set, then GAP itself reorders them and there
is nothing to fear when giving sets at Sage level `:-)`
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14291#comment:19>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.