Ask Your Question
1

rational weights of (affine) Lie algebra

asked 2023-04-14 16:51:20 +0100

lelouch gravatar image

I am studying affine Lie algebra with non-integral level and weights.

However, multiplying a rational number, like -3/4, to the affine fundamental weights will cause an error TypeError: unsupported operand parent(s) for *: 'Rational Field' and 'Extended weight lattice of the Root system of type ['A', 2, 1]'.

I wonder how to work with rationals?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2023-04-15 13:14:58 +0100

FrédéricC gravatar image

Like this

sage: R = RootSystem(['A',2,1])
sage: L = R.weight_space().basis()
sage: 3/4*L[0]
3/4*Lambda[0]
edit flag offensive delete link more

Comments

Thanks! I'll have a try.

lelouch gravatar imagelelouch ( 2023-04-24 04:01:02 +0100 )edit

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: 2023-04-14 16:51:20 +0100

Seen: 129 times

Last updated: Apr 15 '23