# Ticket #11522: trac_11522-jhp.patch

File trac_11522-jhp.patch, 1.3 KB (added by jhpalmieri, 12 years ago)

apply only this patch

• ## sage/combinat/partition.py

# HG changeset patch
# User Ivo Hedtke <hedtke@me.com>
# Date 1311194106 -7200
# Node ID 119271538e74b5c374a4726753a45fb88c926e63
trac 11522: better typesetting for the formulas in this doc

diff --git a/sage/combinat/partition.py b/sage/combinat/partition.py
 a class Partition_class(CombinatorialObjec return d def centralizer_size(self, t=0, q=0): """ r""" Returns the size of the centralizer of any permutation of cycle type self. If m_i is the multiplicity of i as a part of p, this is given by \prod_i (i^m[i])*(m[i]!). Including the optional parameters t and q gives the q-t analog which is the former product times \prod_{i=1}^{length(p)} (1 - q^{p[i]}) / (1 - t^{p[i]}). self. If m_i is the multiplicity of i as a part of p, this is given by .. math:: \prod_i m_i! i^{m_i}. Including the optional parameters t and q gives the q-t analog which is the former product times .. math:: \prod_{i=1}^{\mathrm{length}(p)} \frac{1 - q^{p_i}}{1 - t^{p_i}}. EXAMPLES::