--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14885>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14885#comment:1>
Comment (by tscrim):
What is the action on one permutation on another? Does is swap by position
or swap by value? The point I'm trying to make is that this affects how
multiplication of permutations is done as well. I'd also have to check (by
hand) what happens with what I do by default, which is swap by position. I
think all we really need is for this to be well documented. Also, are
there any methods which break when you set the opposite convention?
No matter what, this should be a discussion on sage-devel.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14885#comment:2>
Comment (by darij):
What do you mean by "the action on[of?] one permutation on another"? Sage
doesn't understand {{{Permutation([1,3,2])(Permutation([2,3,1]))}}}. Do
you mean action on an int? It's the usual left action:
{{{
sage: Permutation([2,3,1])(3)
1
}}}
I think sage-devel is a good idea. I'm not on the list though (only sage-
combinat-devel); will try to join now.
About methods breaking if we set the opposite convention, the
{{{characteristic_symmetric_function()}}} one is an example, but probably
various methods in {{{permutation.py}}} and
{{{symmetric_group_algebra.py}}} will also; on the other hand, I am fairly
sure that very few methods outside these two files will change. (I have
only run doctests on sage.groups and sage.combinat, though.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14885#comment:3>
Comment (by ncohen):
I also think that this should be a thread on Sage devel, if only to let
everybody know what has been going on until now. That's really scary `O_o`
Personally, I would vote for a backward uncompatible change that would set
things how they should have been written since the beginning. Possibly
with a warning the first time the multiplication is called to say that
"there has been a change, and that the users should think for a couple of
minutes of their past OR future computations, as one of the two is not
returning what they think it should".
But this is definitely worth advertisement on sage-devel !
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14885#comment:4>
Comment (by darij):
I have just figured out why I can't join sage-devel: I'm on the group
already *facepalm*.
Posted: https://groups.google.com/forum/#!topic/sage-devel/tAAb42Edh9o .
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14885#comment:5>