#8392: Check when defining a permutation by one-line notation (list of int)
----------------------------------------------+-----------------------------
Reporter: nborie | Owner: tscrim
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.7
Component: combinatorics | Resolution:
Keywords: permutation, check, days38 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Travis Scrimshaw | Merged in:
Dependencies: | Stopgaps:
----------------------------------------------+-----------------------------
Changes (by {'newvalue': u'Travis Scrimshaw', 'oldvalue': ''}):
* keywords: permutation, check, assert, days38 => permutation, check,
days38
* author: => Travis Scrimshaw
Old description:
> Just check the user give a good entry and for that move a method
> (robinson_schensted)
>
> For now, sage accept that:
> {{{
> sage: Permutation([1,1,1,1,1])
> [1, 1, 1, 1, 1]
> sage: Permutation([-12,1,3])
> [-12, 1, 3]
> }}}
New description:
Since the user is currently very strongly encouraged to use good
formatting in #13742, there is no longer a good way to do certain methods
which were more designed for words (ex. `robinson_schensted()`)
Before, sage would accept that:
{{{
sage: Permutation([1,1,1,1,1])
[1, 1, 1, 1, 1]
sage: Permutation([-12,1,3])
[-12, 1, 3]
}}}
This ticket plans to separate out the `RSK` into a global function which
takes various types of input and runs the row insertion and also does the
same for the inverse. This ticket might also have permutations inherit
from `Word`.
--
Comment:
I'm going to recycle this ticket due to #13742.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8392#comment:5>
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.