#12872: A show method for permutations
---------------------------------+------------------------------------------
Reporter: ncohen | Owner: sage-combinat
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-5.1
Component: combinatorics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: David Coudert
Authors: Nathann Cohen | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Comment (by ncohen):
Hellooooooo Christian !!
> 1. for the braid representation: I would think of options for
orientation being X-to-Y for X,Y being top,bottom or bottom,top or left-
right or right-left. Also, I think of a braid in a different way: order
the inversions in some order (say lex) and then swap two strings at a
time. This produces pictures like on the wiki page for the braid group,
http://en.wikipedia.org/wiki/Braid_group.
You mean the kind of drawings produced by my patch on pseudolines (#12090)
? `:-P`
I will not code that twice, but that feature of pseudolines can be exposed
in the .show method of course !
> 2. A second way of drawing the chord diagram is by having two vertices
(i,"in") and (i,"out") for each letter. The pic then becomes a matching of
2n points placed on a circle.
>
> 3. do you think of implementing the Rothe (or inversion) diagram Florent
mentioned?
>
> 4. The one-line notation is also nice when just drawing arcs between
points.
Actually I only needed to plot permutations as done by the initial patch,
that is the ``algorithm="braid"`` version of the current patch. I
implemented others because it did not seem to be the universal way to draw
them but besides that I will stay as clear from graphical codes as I can
`:-P`
Have fuuuuuuuuuuuuuuuuuuuuuuuuuuuun !!!
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12872#comment:27>
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.