#14772: Remove CombinatorialClass from Permutations
---------------------------------------+------------------------------------
Reporter: tscrim | Owner: sage-combinat
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.11
Component: combinatorics | Resolution:
Keywords: days49 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Travis Scrimshaw | Merged in:
Dependencies: #8386 #14519 #14808 | Stopgaps:
---------------------------------------+------------------------------------
Comment (by tscrim):
{{{
#!diff
@@ -1542,10 +1561,10 @@ class Permutation_class(CombinatorialObj
def number_of_inversions(self):
r"""
- Returns the number of inversions in the permutation p.
-
- An inversion of a permutation is a pair of elements (p[i],p[j])
- with i < j and p[i] > p[j].
+ Return the number of inversions in ``self``.
+
+ An inversion of a permutation is a pair of elements `(p_i,p_j)`
+ with `i < j` and `p_i > p_j`.
REFERENCES:
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14772#comment:14>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.