Ask Your Question

Decomposing a Root vector into simple roots

asked 2016-02-22 11:22:02 -0600

DBS gravatar image

Is there a sage functions which does the following:

Input = Root System / Ambient Lattice or Ambient space of irreducible (or even classical) Root System and a Root vector $v$

Output = a list containing the integers which expresses $v$ as a linear combination of simple roots.

Thank you for your help.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-02-22 13:52:12 -0600

FrédéricC gravatar image

Would you please provide an example of what you fail to do ?

sage: v
2*alpha[1] + 2*alpha[2] + 3*alpha[3]
sage: v.to_vector()
(2, 2, 3, 0)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-02-22 11:22:02 -0600

Seen: 108 times

Last updated: Feb 22 '16