Macaulay2 » Documentation
Packages » LieTypes :: LieAlgebra == LieAlgebra
next | previous | forward | backward | up | index | toc

LieAlgebra == LieAlgebra -- tests equality of LieAlgebra

Synopsis

Description

This function tests equality of the underlying hash tables of $g$ and $h$ are the same.

i1 : g=simpleLieAlgebra("A",2)

o1 = g

o1 : simple LieAlgebra
i2 : h=simpleLieAlgebra("A",2)

o2 = g

o2 : simple LieAlgebra
i3 : g==h

o3 = true

Ways to use this method: