Hi!

 The title says it all.

testcase: 

sage: latex(RootSystem("A2").ambient_space().simple_root(1))
  
e_{0} + \left(-1\right)e_{1}

expected output:

e_{0} - e_{1}

Of course it should work also for weights and should be capable of 
producing output like

-3e_{1}+e_{2}

Best regards
                     Vit

P.S.: I am not familiar with sage and its internals but I've checked 
misc.py/repr_lincomb and it seemed fine at a first glance. Do the test 
cover also linear combinantions with negative coefficients? Documentation 
for repr_lincomb seems to show only terms with positive coefficients.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to