LieAlgebra.LieBracket
back

LieAlgebra.LieBracket(a,b)

Parameters:
Returns:
Example:

>>>Bianchi9Struct = LieStructureConstantTable(3)
>>>Bianchi9Struct.SetEntry(0,1,[0,0,1])
>>>Bianchi9Struct.SetEntry(1,2,[1,0,0])
>>>Bianchi9Struct.SetEntry(2,0,[0,1,0])
>>>Bianchi9 = LieAlgebra(3, "B9")
>>>Bianchi9.LieAlgebraByStructureConstants(Bianchi9Struct)
B9 is a Lie Algebra
>>>Bianchi9.LieBracket([1,3,2],[3,5,9])
[17, -3, -4]