b=isLieAlgebra(m)
Checks whether the module generated by the provided vector fields is closed under the Lie bracket of vector fields (see bracket) and thus forms a Lie algebra.
|
An action of SL_2 on GL_2 differentiates to the following vector fields:
|
|
|
Verify that this is sl_2, where [e,f]=h, [h,f]=-2f, [h,e]=2e.
|
|
|
In particular, the module these generate form a Lie algebra:
|
There is no isLieAlgebra(Matrix), yet.
The object isLieAlgebra is a method function.