Magma - Maple Programming Help

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

Magma

 LeftIdentity
 return a left identity element of a magma with a left identity

 Calling Sequence LeftIdentity( m )

Parameters

 m - Array representing the Cayley table of a finite magma

Description

 • The LeftIdentity command returns a left identity element of a magma possessing one. If the magma has no left identity element, an exception is raised.
 • Note that a magma may possess more than one left identity element; only one is returned.

Examples

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

Compatibility

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