Magma - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

Magma

 IsBand
 test whether a magma is a band

 Calling Sequence IsBand( m )

Parameters

 m - Array representing the Cayley table of a finite magma

Description

 • A band is an idempotent semigroup, that is, an associative magma in which the identity XX = X is satisfied.
 • The IsBand command returns true if the given magma is a band. It returns false otherwise.

Examples

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

Compatibility

 • The Magma[IsBand] 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