Changeset 7279:a2b7fe8a6ac0
- Timestamp:
- 11/03/07 15:06:50 (6 years ago)
- Branch:
- default
- Children:
- 7280:6cf033099a24, 7330:66f1b1def3aa, 8361:9944c60981f8
- Tags:
- 2.8.12.alpha1
- Location:
- sage
- Files:
-
- 36 edited
-
algebras/free_algebra_element.py (modified) (1 diff)
-
combinat/alternating_sign_matrix.py (modified) (1 diff)
-
combinat/cartesian_product.py (modified) (1 diff)
-
combinat/choose_nk.py (modified) (1 diff)
-
combinat/combination.py (modified) (1 diff)
-
combinat/combinatorial_algebra.py (modified) (1 diff)
-
combinat/composition.py (modified) (1 diff)
-
combinat/composition_signed.py (modified) (1 diff)
-
combinat/dyck_word.py (modified) (1 diff)
-
combinat/finite_class.py (modified) (1 diff)
-
combinat/graph_path.py (modified) (1 diff)
-
combinat/hecke_algebra.py (modified) (1 diff)
-
combinat/integer_list.py (modified) (1 diff)
-
combinat/kfpoly.py (modified) (1 diff)
-
combinat/misc.py (modified) (1 diff)
-
combinat/necklace.py (modified) (1 diff)
-
combinat/partition.py (modified) (1 diff)
-
combinat/partition_algebra.py (modified) (1 diff)
-
combinat/permutation.py (modified) (1 diff)
-
combinat/q_analogues.py (modified) (1 diff)
-
combinat/ribbon.py (modified) (1 diff)
-
combinat/schubert_polynomial.py (modified) (1 diff)
-
combinat/set_partition.py (modified) (1 diff)
-
combinat/set_partition_ordered.py (modified) (1 diff)
-
combinat/sfa.py (modified) (2 diffs)
-
combinat/skew_partition.py (modified) (1 diff)
-
combinat/skew_tableau.py (modified) (1 diff)
-
combinat/subset.py (modified) (1 diff)
-
combinat/subword.py (modified) (1 diff)
-
combinat/symmetric_group_algebra.py (modified) (1 diff)
-
combinat/tableau.py (modified) (1 diff)
-
combinat/tools.py (modified) (1 diff)
-
combinat/tuple.py (modified) (1 diff)
-
combinat/word.py (modified) (1 diff)
-
misc/latex.py (modified) (2 diffs)
-
rings/polynomial/polynomial_ring.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sage/algebras/free_algebra_element.py
r7242 r7279 79 79 80 80 def _latex_(self): 81 """81 r""" 82 82 Return latex representation of self. 83 83 -
sage/combinat/alternating_sign_matrix.py
r6439 r7279 1 r""" 2 Alternating Sign Matrices 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/cartesian_product.py
r6439 r7279 1 r""" 2 Cartesian Products 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/choose_nk.py
r7201 r7279 1 """ 2 Alternating sign matrices 3 """ 4 #***************************************************************************** 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, 6 # 7 # Distributed under the terms of the GNU General Public License (GPL) 8 # 9 # This code is distributed in the hope that it will be useful, 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 # General Public License for more details. 13 # 14 # The full text of the GPL is available at: 15 # 16 # http://www.gnu.org/licenses/ 17 #***************************************************************************** 1 18 from sage.rings.arith import binomial 2 19 import random as rnd -
sage/combinat/combination.py
r7201 r7279 1 r""" 2 Combinations 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/combinatorial_algebra.py
r7201 r7279 1 r""" 2 Combinatorial Algebras 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/composition.py
r6594 r7279 1 r""" 2 Compositions 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/composition_signed.py
r6439 r7279 1 r""" 2 Signed Compositions 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/dyck_word.py
r6594 r7279 1 r""" 2 Dyck Words 3 """ 4 #***************************************************************************** 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, 6 # 7 # Distributed under the terms of the GNU General Public License (GPL) 8 # 9 # This code is distributed in the hope that it will be useful, 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 # General Public License for more details. 13 # 14 # The full text of the GPL is available at: 15 # 16 # http://www.gnu.org/licenses/ 17 #***************************************************************************** 18 1 19 import sage.combinat.misc as misc 2 20 from combinat import catalan_number -
sage/combinat/finite_class.py
r7201 r7279 1 r""" 2 Finite Combinatorial Classes 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/graph_path.py
r6594 r7279 1 r""" 2 Paths in Directed Acyclic Graphs 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/hecke_algebra.py
r7201 r7279 1 r""" 2 Hecke Algebra 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/integer_list.py
r6439 r7279 1 r""" 2 Tools for generating lists of integers in lexicographic order. 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/kfpoly.py
r7201 r7279 1 r""" 2 Kostka-Foulkes Polynomials 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/misc.py
r6594 r7279 1 r""" 2 Miscellaneous 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/necklace.py
r6439 r7279 1 1 """ 2 Necklaces 3 4 5 Algorithm from 2 6 3 7 A fast algorithm to generate necklaces with fixed content -
sage/combinat/partition.py
r6959 r7279 1 r""" 2 Partitions 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/partition_algebra.py
r6908 r7279 1 r""" 2 Partition/Diagram Algebras 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/permutation.py
r7210 r7279 1 r""" 2 Permutations 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/q_analogues.py
r6594 r7279 1 r""" 2 q-Analogues 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/ribbon.py
r7201 r7279 1 r""" 2 Ribbon Tableaux 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/schubert_polynomial.py
r7210 r7279 1 1 r""" 2 Schubert Polynomials 3 """ 2 4 #***************************************************************************** 3 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/set_partition.py
r6594 r7279 1 r""" 2 Set Partitions 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/set_partition_ordered.py
r6439 r7279 1 r""" 2 Ordered Set Partitions 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/sfa.py
r7207 r7279 78 78 h[10] 79 79 80 #Print style81 80 sage: P3 = Partitions(3) 82 81 sage: P3.list() … … 1815 1814 1816 1815 def transition_matrix(self, basis, n ): 1817 """1818 Returns the transition matrix between the n^thhomogeneous1816 r""" 1817 Returns the transition matrix between the $n^th$ homogeneous 1819 1818 component of self and basis. 1820 1821 1822 1819 """ 1823 1820 if n not in self._transition_matrices: -
sage/combinat/skew_partition.py
r7201 r7279 1 r""" 2 Skew Partitions 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/skew_tableau.py
r7201 r7279 1 r""" 2 Skew Tableaux 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/subset.py
r6594 r7279 1 r""" 2 Subsets 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/subword.py
r6439 r7279 1 r""" 2 Subwords 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/symmetric_group_algebra.py
r7201 r7279 1 r""" 2 Symmetric Group Algebra 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/tableau.py
r7201 r7279 1 r""" 2 Tableaux 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/tools.py
r6439 r7279 1 r""" 2 Tools 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/tuple.py
r6439 r7279 1 r""" 2 Tuples 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/combinat/word.py
r7201 r7279 1 r""" 2 Words 3 """ 1 4 #***************************************************************************** 2 5 # Copyright (C) 2007 Mike Hansen <mhansen@gmail.com>, -
sage/misc/latex.py
r7242 r7279 614 614 615 615 def latex_variable_name(x): 616 """616 r""" 617 617 Return latex version of a variable name. 618 618 … … 621 621 2) If the variable name is suffixed by a number, we put the number in the subscript. 622 622 3) If the variable name contains an '_' we start the subscript at the underscore. 623 Note that #3 trumps rule#2.623 Note that \#3 trumps rule \#2. 624 624 4) If a component of the variable is a greek letter, escape it properly. 625 625 5) Recurse nicely with subscripts. -
sage/rings/polynomial/polynomial_ring.py
r7242 r7279 378 378 379 379 def _latex_(self): 380 """380 r""" 381 381 EXAMPLES: 382 382 sage: S.<alpha12>=ZZ[]
Note: See TracChangeset
for help on using the changeset viewer.
