Ask Your Question
0

rational weights of (affine) Lie algebra

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

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
0

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

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 +0200 )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 +0200

Seen: 69 times

Last updated: Apr 15 '23