#15150: Implement NCSym
------------------------------------+-----------------------------
Reporter: tscrim | Owner: sage-combinat
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.12
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: Travis Scrimshaw | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #15143 | Stopgaps:
------------------------------------+-----------------------------
Comment (by darij):
Should be a one-line edit:
{{{
**********************************************************************
File "devel/sage/sage/combinat/ncsym/ncsym.py", line 248, in
sage.combinat.ncsym.ncsym.SymmetricFunctionsNonCommutingVariables.monomial.from_symmetric_function
Failed example:
elt = m.from_symmetric_function(mon[2,1,1]); elt
Exception raised:
Traceback (most recent call last):
File "/home/darij/sage-5.12.beta5/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 479, in _run
self.execute(example, compiled, test.globs)
File "/home/darij/sage-5.12.beta5/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 838, in execute
exec compiled in globs
File "<doctest
sage.combinat.ncsym.ncsym.SymmetricFunctionsNonCommutingVariables.monomial.from_symmetric_function[2]>",
line 1, in <module>
elt =
m.from_symmetric_function(mon[Integer(2),Integer(1),Integer(1)]); elt
File "/home/darij/sage-5.12.beta5/local/lib/python2.7/site-
packages/sage/combinat/ncsym/ncsym.py", line 255, in
from_symmetric_function
return self.sum([c * self.sum_of_partitions(i) for i,c in m(f)])
File "/home/darij/sage-5.12.beta5/local/lib/python2.7/site-
packages/sage/combinat/ncsym/ncsym.py", line 471, in sum_of_partitions
la = Partition(la) # Make sure it is a partition
NameError: global name 'Partition' is not defined
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15150#comment:44>
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/groups/opt_out.