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
    # Parent  9dca3876f46be512d86d82dc0b43468f0ad2c8a4
    trac 11522: better typesetting for the formulas in this doc
    
    diff --git a/sage/combinat/partition.py b/sage/combinat/partition.py
    a b class Partition_class(CombinatorialObjec 
    13651365        return d
    13661366
    13671367    def centralizer_size(self, t=0, q=0):
    1368         """
     1368        r"""
    13691369        Returns the size of the centralizer of any permutation of cycle type
    1370         ``self``. If m_i is the multiplicity of i as a part of p, this is given
    1371         by `\prod_i (i^m[i])*(m[i]!)`. Including the optional
    1372         parameters t and q gives the q-t analog which is the former product
    1373         times `\prod_{i=1}^{length(p)} (1 - q^{p[i]}) / (1 - t^{p[i]}).`
     1370        ``self``. If `m_i` is the multiplicity of `i` as a part of `p`, this is given
     1371        by
     1372
     1373        .. math::
     1374
     1375           \prod_i m_i! i^{m_i}.
     1376
     1377        Including the optional
     1378        parameters `t` and `q` gives the `q`-`t` analog which is the former product
     1379        times
     1380
     1381        .. math::
     1382
     1383           \prod_{i=1}^{\mathrm{length}(p)} \frac{1 - q^{p_i}}{1 - t^{p_i}}.
    13741384       
    13751385        EXAMPLES::
    13761386