#15913: Improve printing of KR crystals, spins, and plus-minus diagrams
-------------------------------------+-------------------------------------
       Reporter:  tscrim             |        Owner:  sage-combinat
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.2
      Component:  combinatorics      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Travis Scrimshaw   |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/combinat/crystals/pp_kr_crystals_pm_diagrams-15913|  
7c3a1a399e903c70d420763eb02d84f8c96af1cd
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by tscrim):

 * cc: aschilling (added)
 * status:  new => needs_review
 * branch:   => public/combinat/crystals/pp_kr_crystals_pm_diagrams-15913
 * commit:   => 7c3a1a399e903c70d420763eb02d84f8c96af1cd


Old description:



New description:

 So we can do things like this:
 {{{
 sage: K = KirillovReshetikhinCrystal(['D',4,1], 2,1)
 sage: K[4].pp()
   1
   4
 sage: K[12].pp()
  -3
  -1
 sage: T = TensorProductOfCrystals(K, K)
 sage: T[22].pp()
  (X)   2
       -3
 sage: T[50].pp()
   1 (X)   1
   2      -3
 sage: pm =
 
sage.combinat.crystals.kirillov_reshetikhin.PMDiagram([[1,0],[0,1],[2,0],[0,0],[0]])
 sage: pm.pp()
   .  .  .  +
   .  .  -  -
   +  +
   -  -
 sage: K = KirillovReshetikhinCrystal(['B',3,1], 3,3)
 sage: K.module_generators[0].pp()
 + (X)   1
 +
 +
 }}}

--

Comment:

 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=482c5c2d75ea699e5956ee8cd8d7629fac76eaa8
 482c5c2]||{{{Added better support for pretty printing KR crystals and pm
 diagrams.}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=9cabe86356423901bf0c22b4b4947937d9745bd4
 9cabe86]||{{{Fixed doctests in kirillov_reshetikhin.py.}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=7c3a1a399e903c70d420763eb02d84f8c96af1cd
 7c3a1a3]||{{{Fix for pp for type B with spins.}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/15913#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to