Ask Your Question

Revision history [back]

Rename Lambda in weight space

It's a basic question, but after looking at the manual for a while I couldn't find the answer, so here goes.

R = RootSystem(["A",7])
print R.weight_lattice().fundamental_weight(1)

returns Lambda[1]. Is it possible to rename Lambda here? I could hack this by overriding the .__str__ method, but is there a cleaner method?