Ask Your Question
1

Decomposing a Root vector into simple roots

asked 2016-02-22 18:22:02 +0200

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
1

answered 2016-02-22 20:52:12 +0200

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

Stats

Asked: 2016-02-22 18:22:02 +0200

Seen: 227 times

Last updated: Feb 22 '16