#5790: Updating some quirks in partition.py
---------------------------+------------------------------------------------
Reporter: andrew.mathas | Owner: andrew.mathas
Type: defect | Status: new
Priority: minor | Milestone: sage-combinat
Component: combinatorics | Keywords: partitions, cores, quotients
---------------------------+------------------------------------------------
Changes (by andrew.mathas):
* component: algebra => combinatorics
Old description:
> Dear All,
>
> I have just pushed a patch to the combinat server which:
> * deprecates ''r_core'', ''r_quotient'' (and ''k_core'') in favour of
> ''core'' and ''quotient'', respectively. I also made ''core'' return a
> partition rather than a list.
> * rewrite the Partition() calling function to use keywords rather
> than named arguments. In the process I deprecated the 'core_and_quotient'
> argument.
> * deprecated ''partition_sign'' in favour of ''sign'' and replaced
> the previous call to gap with plus or minus one as required.
>
> Almost all of the changes are to partition.py, however, the patch
> affects the following four files as they all called ''r_core'' or
> ''r_quotient''::
> sage/combinat/ktableau.py
> sage/combinat/partition.py
> sage/combinat/ribbon_tableau.py
> sage/combinat/skew_partition.py
>
> Not all of the doc tests pass, however, the problems seem to be caused
> elsewhere.
>
> Andrew
New description:
Dear All,
I have just pushed a patch to the combinat server which:
* deprecates ''r_core'', ''r_quotient'' (and ''k_core'') in favour of
''core'' and ''quotient'', respectively. I also made ''core'' return a
partition rather than a list.
* rewrites the Partition() calling function to use keywords rather
than named arguments. In the process I deprecated the
''core_and_quotient'' argument replacing it with
''Partition(core=?,quotient=?)''.
* deprecated ''partition_sign'' in favour of ''sign'' and replaced the
previous call to gap with plus or minus one as required.
Almost all of the changes are to partition.py, however, the patch affects
the following four files as they all called ''r_core'' or ''r_quotient'':
- sage/combinat/ktableau.py
- sage/combinat/partition.py
- sage/combinat/ribbon_tableau.py
- sage/combinat/skew_partition.py
Not all of the doc tests pass, however, the problems seem to be caused
elsewhere -- please let me know if I am wrong!
Andrew
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5790#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---