[GAP Forum] renaming generators of lie algebra

R.N. Tsai r_n_tsai at yahoo.com
Tue Jul 21 02:31:04 BST 2009


Dear gap-forum,

I'd like to rename the generators of lie algebras and
their universal enveloping algebras. I tried a few things
including this that didn't seem to work.

gap> L:=SimpleLieAlgebra("A",1,Rationals);;
gap> U:=UniversalEnvelopingAlgebra(L);;
gap> g:=GeneratorsOfAlgebraWithOne(U);;

gap> g;
[ [(1)*x.1], [(1)*x.2], [(1)*x.3] ]

gap> SetName(g[1],"MyName");
(doesn't change the name)

Thanks,

R.N.






      



More information about the Forum mailing list