On 2014-09-05, Nathann Cohen <nathann.co...@gmail.com> wrote:
>> I just had a quick look at it, and the following looks downright scary:
>
> It is one of this code's many wonders. Also, note that :
>
> sage: Permutation([1,2,3])
> [1, 2, 3]
> sage: Permutation((1,2,3))
> [2, 3, 1]

this actually makes perfect sense for someone with some 
group theory background.
(array notation vs cyclic notation)

But the idea that one can guess the domain of a permutation given in cyclic
notation is dangerous and is virtually guaranteed to cause pain and suffering.
Cyclic notation comes from permutation groups, where each has a well-defined
domain. Specifying permutations in cyclic notation without specifying the group
they live in is akin to specifying a polynomial "by itself", outside of a
polynomial ring...

Dima

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to