| 1 | initial version |
def branching_dimensions(chi):
monomials = chi.monomials()
coef = chi.coefficients()
res = ""
for i in range(len(coef)):
res += str(coef[i]) + "*" + str(monomials[i].degree()) + " + "
return res[:-3]
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.