Ticket #11522: trac_11522.patch

File trac_11522.patch, 1.3 KB (added by hedtke, 12 years ago)
  • sage/combinat/partition.py

    Detected SAGE64 flag
    Building Sage on OS X in 64-bit mode
    # HG changeset patch
    # User Ivo Hedtke <hedtke@me.com>
    # Date 1311194106 -7200
    # Node ID babe52826966864844cb5d2b50640a5500b784a3
    # Parent  ce324e28c3334398d3552640e2cb1520d22465a3
    trac 11522: better typesetting for the formulas in this doc
    
    diff -r ce324e28c333 -r babe52826966 sage/combinat/partition.py
    a b  
    13061306    def centralizer_size(self, t=0, q=0):
    13071307        """
    13081308        Returns the size of the centralizer of any permutation of cycle type
    1309         ``self``. If m_i is the multiplicity of i as a part of p, this is given
    1310         by `\prod_i (i^m[i])*(m[i]!)`. Including the optional
    1311         parameters t and q gives the q-t analog which is the former product
    1312         times `\prod_{i=1}^{length(p)} (1 - q^{p[i]}) / (1 - t^{p[i]}).`
     1309        ``self``. If `m_i` is the multiplicity of `i` as a part of `p`, this is given
     1310        by
     1311
     1312        .. math::
     1313
     1314           \prod_i m_i! i^{m_i}.
     1315
     1316        Including the optional
     1317        parameters `t` and `q` gives the `q`-`t` analog which is the former product
     1318        times
     1319
     1320        .. math::
     1321
     1322           \prod_{i=1}^{\mathrm{length}(p)} \frac{1 - q^{p_i}}{1 - t^{p_i}}.
    13131323       
    13141324        EXAMPLES::
    13151325