[sage-support] Re: Semisimple Lie algebra generators in Sage? (physics edition)

2020-06-01 Thread 'Travis Scrimshaw' via sage-support
Hi Emil, Kind of. So what you are looking for is the compact real form I think: sage: L = LieAlgebra(QQ, cartan_type=['A',1], representation="compact real") sage: list(L.basis()) [ [ 0 1] [ i 0] [0 i] [-1 0], [ 0 -i], [i 0] ] sage: L = LieAlgebra(QQ, cartan_type=['A',2], representation="co

[sage-support] Re: Lie algebra morphism, mutable matrices, basis not defined

2020-01-06 Thread Travis Scrimshaw
Hi Samuel, Both issues are tied to the matrix Lie algebra implementation: sage: e1.monomial_coefficients() NotImplementedError: the basis is not defined For the immuability issue: probably what should be done is for the matrix Lie algebras, all elements should be made immutable. This is an ea