[back] [prev] [next] [index] [root]

 


AbelianGroupEltOrder

Returns the order of an element.

Syntax:

a := AbelianGroupEltOrder(elt);

group element
  elt  
integer
  a  

See also:  AbelianGroupOrder, AbelianGroupEltCreate

Description:

Returns the order of the element elt.


Example:


kash> g := AbelianGroupCreate([[0,1,2],[5,6,0],[0,4,5]]);
Group with relations:
[0 1 2]
[5 6 0]
[0 4 5]
kash> elt := AbelianGroupEltCreate(g, [1,0,0]);
[1 0 0]
kash> a := AbelianGroupEltOrder(elt);
> 5


<- back[back] [prev] [next] [index] [root]