Magma - Maple Programming Help

Home : Support : Online Help : Mathematics : Algebra : Magma : Magma/HasLeftIdentity

Magma

 HasLeftIdentity
 test whether a magma has a left identity

 Calling Sequence HasLeftIdentity( m )

Parameters

 m - Array; magma represented by its Cayley table

Description

 • The HasLeftIdentity command determines whether a magma m has a left identity element.  It returns true if m has a left identity element, and returns false' otherwise.

Examples

 > $\mathrm{with}\left(\mathrm{Magma}\right):$
 > $m≔⟨⟨⟨1|2|2⟩,⟨1|2|3⟩,⟨3|2|2⟩⟩⟩$
 ${m}{≔}\left[\begin{array}{ccc}{1}& {2}& {2}\\ {1}& {2}& {3}\\ {3}& {2}& {2}\end{array}\right]$ (1)
 > $\mathrm{HasLeftIdentity}\left(m\right)$
 ${\mathrm{true}}$ (2)

Compatibility

 • The Magma[HasLeftIdentity] command was introduced in Maple 15.