Magma - Maple Programming Help

Online Help

All Products    Maple    MapleSim

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

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}{rrr}{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.
 • For more information on Maple 15 changes, see Updates in Maple 15.

 See Also

Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam