#11300: Add get_part method to partition.py
------------------------------+---------------------------------------------
Reporter: jbandlow | Owner: sage-combinat
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-4.7.1
Component: combinatorics | Keywords: partitions, days30
Work_issues: | Upstream: N/A
Reviewer: Florent Hivert | Author: Jason Bandlow
Merged: | Dependencies:
------------------------------+---------------------------------------------
Changes (by mhansen):
* status: positive_review => needs_info
Comment:
The one issue with this is the following:
{{{
sage: p = Partition([4,3])
sage: type(p.get_part(0))
<type 'sage.rings.integer.Integer'>
sage: type(p.get_part(10))
<type 'int'>
}}}
Is there a use case for a changeable default value?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11300#comment:4>
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 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.