Le vendredi 16 octobre 2015 00:54:04 UTC+2, Eric Gourgoulhon a écrit :
>
>
> All the objects are implemented within Sage's category framework, following
> the parent/element scheme. The category for manifolds is Sets() for the
> moment, but this should be changed to Manifolds() as soon as #18175
Hi,
I wanted to raise a few minor issues with permutations in Sage, which have
been annoying me (and presumably others) for a long time now. I propose a
number of fixes below.
(1) It is a pain to enter permutations in cycle notation.
sage: Permutation("(1,2,3)(4,5)")
hurts my eyes (it just to
PS I have no idea why there are so many blank lines in my post ?
On Monday, October 19, 2015 at 12:12:52 PM UTC+2, Pierre wrote:
>
> Hi,
>
> I wanted to raise a few minor issues with permutations in Sage, which have
> been annoying me (and presumably others) for a long time now. I propose a
I'm not going to deal with parsing through multiple arguments from the user
in addition to what we currently have. It just is not worth it. As for the
rest:
sage: P = Permutation(((1,2,3),(4,5)))
sage: P
[2, 3, 1, 5, 4]
sage: P.parent()
Standard permutations of 5
sage: Permutations.global_option
Thanks a lot for the global options !
On Monday, October 19, 2015 at 6:01:29 PM UTC+2, Travis Scrimshaw wrote:
>
> I'm not going to deal with parsing through multiple arguments from the
> user in addition to what we currently have. It just is not worth it. As for
> the rest:
>
> sage: P = Permut