#16027: Implement q-dimension for classical and KR crystals
-------------------------------------+-------------------------------------
Reporter: tscrim | Owner: sage-combinat
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: combinatorics | Resolution:
Keywords: q-analogs, Q | Merged in:
systems | Reviewers:
Authors: Travis Scrimshaw | Work issues:
Report Upstream: N/A | Commit:
Branch: u/tscrim/q_dims | 0ce87dda39dbb93cdce803d3daaad913b6ce6326
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by bsalisbury1):
Hi Travis,
To fix the B2 calculation (and to be, as you say, more robust), changing
the code like the below example sounds like a good idea.
{{{
sage: B = CrystalOfTableaux(['B',2], shape=[2,1])
sage: R.<q> = QQ[]
sage: ret = R.zero()
sage: for b in B:
....: ret += q**len(b.to_highest_weight()[1])
....:
sage: ret
q^10 + 2*q^9 + 3*q^8 + 4*q^7 + 5*q^6 + 5*q^5 + 5*q^4 + 4*q^3 + 3*q^2 + 2*q
+ 1
}}}
There are also documentation errors.
{{{
[combinat ] /Users/Ben/sage-
git/src/doc/en/reference/combinat/sage/combinat/crystals/catalog.rst::
WARNING: document isn't included in any toctree
[combinat ] /Users/Ben/sage-
git/src/doc/en/reference/combinat/sage/combinat/crystals/catalog.rst::
WARNING: document isn't included in any toctree
Traceback (most recent call last):
File "/Users/Ben/sage-git/src/doc/common/builder.py", line 83, in f
execfile(sys.argv[0])
File "/Users/Ben/sage-git/src/doc/common/custom-sphinx-build.py", line
185, in <module>
sphinx.cmdline.main(sys.argv)
File "/Users/Ben/sage-git/local/lib/python2.7/site-
packages/Sphinx-1.1.2-py2.7.egg/sphinx/cmdline.py", line 206, in main
print >>error
File "/Users/Ben/sage-git/src/doc/common/custom-sphinx-build.py", line
165, in write
self._write(str)
File "/Users/Ben/sage-git/src/doc/common/custom-sphinx-build.py", line
139, in _write
self._log_line(line)
File "/Users/Ben/sage-git/src/doc/common/custom-sphinx-build.py", line
108, in _log_line
raise OSError(line)
OSError: [combinat ] /Users/Ben/sage-
git/src/doc/en/reference/combinat/sage/combinat/crystals/catalog.rst::
WARNING: document isn't included in any toctree
Traceback (most recent call last):
File "/Users/Ben/sage-git/src/doc/common/builder.py", line 1474, in
<module>
getattr(get_builder(name), type)()
File "/Users/Ben/sage-git/src/doc/common/builder.py", line 702, in
_wrapper
getattr(DocBuilder, build_type)(self, *args, **kwds)
File "/Users/Ben/sage-git/src/doc/common/builder.py", line 83, in f
execfile(sys.argv[0])
File "/Users/Ben/sage-git/src/doc/common/custom-sphinx-build.py", line
185, in <module>
sphinx.cmdline.main(sys.argv)
File "/Users/Ben/sage-git/local/lib/python2.7/site-
packages/Sphinx-1.1.2-py2.7.egg/sphinx/cmdline.py", line 206, in main
print >>error
File "/Users/Ben/sage-git/src/doc/common/custom-sphinx-build.py", line
165, in write
self._write(str)
File "/Users/Ben/sage-git/src/doc/common/custom-sphinx-build.py", line
139, in _write
self._log_line(line)
File "/Users/Ben/sage-git/src/doc/common/custom-sphinx-build.py", line
108, in _log_line
raise OSError(line)
OSError: [combinat ] /Users/Ben/sage-
git/src/doc/en/reference/combinat/sage/combinat/crystals/catalog.rst::
WARNING: document isn't included in any toctree
}}}
Also, would it be a good idea to have this ticked based on #15882?
--
Ticket URL: <http://trac.sagemath.org/ticket/16027#comment:2>
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.