Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gives a ''minimal'' implementation of the `A_oo` Cartan type: {{{#!sage sage: CartanType(['A',oo]) ['A', oo] sage: CartanType(['A',oo]).is_irreducible() True sage: CartanType(['A',oo]).is_simply_laced() True sage: print(CartanType(['A', oo]).ascii_art()) ...---O---O---O---O---O---O---O---... -3 -2 -1 0 1 2 3 }}} In addition, the ticket fixes the following error in `CartanType`: {{{#!sage sage: CartanType(['A',-1]) File "<string>", line unknown ^ SyntaxError: unexpected EOF while parsing }}} This, and other nonsensical input, now raises a `ValueError`. See related discussion on [https://groups.google.com/forum/#!topic/sage- combinat-devel/tnQngybmlI4 sage-combinat]. URL: https://trac.sagemath.org/20973 Reported by: andrew.mathas Ticket author(s): Andrew Mathas Reviewer(s): Nicolas Thiéry, Travis Scrimshaw
- Loading branch information
Showing
4 changed files
with
347 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.