IsSquag - Maple Help

Magma

 IsSquag
 test whether a magma is a squag

 Calling Sequence IsSquag( m )

Parameters

 m - Array representing the Cayley table of a finite magma

Description

 • A squag is an idempotent Steiner magma.
 • The IsSquag command returns true if the given magma is a squag. It returns false otherwise.

Examples

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

Compatibility

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