Squares - Maple Help

Magma

 Squares
 compute the set of squares in a magma

 Calling Sequence Squares( m )

Parameters

 m - Array representing the Cayley table of a finite magma

Description

 • The Squares command returns the set of squares of a magma.

Examples

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

Compatibility

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