Magma - Maple Programming Help

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

Magma

 HasRightIdentity
 test whether a magma has a right identity

 Calling Sequence HasRightIdentity( m )

Parameters

 m - Array; magma represented by its Cayley table

Description

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

Examples

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

Compatibility

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