Ticket #14950: trac_14950.patch

File trac_14950.patch, 2.4 KB (added by ncohen, 7 years ago)
  • sage/combinat/designs/design_catalog.py

    # HG changeset patch
    # User Nathann Cohen <nathann.cohen@gmail.com>
    # Date 1374575750 -7200
    #      Tue Jul 23 12:35:50 2013 +0200
    # Node ID 55f20cbea30ecda2073bcb6c3a405c4b162b7987
    # Parent  4de3b579bf03a8f2c009d2e5e9e0768151d67823
    finish cleaup in sage/combinat/design
    
    diff --git a/sage/combinat/designs/design_catalog.py b/sage/combinat/designs/design_catalog.py
    a b  
    66it is sufficient to type::
    77
    88    sage: designs.WittDesign(24) # optional - gap_packages
     9    Incidence structure with 24 points and 759 blocks
    910
    1011Or a Steiner Triple System on 19 points::
    1112
  • sage/combinat/designs/incidence_structures.py

    diff --git a/sage/combinat/designs/incidence_structures.py b/sage/combinat/designs/incidence_structures.py
    a b  
    525525            (True, [2, 7, 3, 1])
    526526            sage: BD.block_design_checker(2, 7, 3, 1)
    527527            True
    528             sage: BD = WittDesign(9)        # optional - gap_packages (design package)
    529             sage: BD.is_block_design()      # optional - gap_packages (design package)
     528            sage: BD = designs.WittDesign(9)   # optional - gap_packages (design package)
     529            sage: BD.is_block_design()         # optional - gap_packages (design package)
    530530            (True, [2, 9, 3, 1])
    531             sage: BD = WittDesign(12)       # optional - gap_packages (design package)
    532             sage: BD.is_block_design()      # optional - gap_packages (design package)
     531            sage: BD = designs.WittDesign(12)  # optional - gap_packages (design package)
     532            sage: BD.is_block_design()         # optional - gap_packages (design package)
    533533            (True, [5, 12, 6, 1])
    534534            sage: BD = designs.AffineGeometryDesign(3, 1, GF(2))
    535535            sage: BD.is_block_design()
     
    624624            sage: from sage.combinat.designs.block_design import BlockDesign
    625625            sage: BD = BlockDesign(7,[[0,1,2],[0,3,4],[0,5,6],[1,3,5],[1,4,6],[2,3,6],[2,4,5]])
    626626            sage: BD.points_from_gap()      # optional - gap_packages (design package)
     627            doctest:1: DeprecationWarning: Unless somebody protests this method will be removed, as nobody seems to know why it is there.
     628            See http://trac.sagemath.org/14499 for details.
    627629            [1, 2, 3, 4, 5, 6, 7]
    628630        """
    629631        from sage.misc.superseded import deprecation