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

 


AbelianGroupEqual

Tests if two groups are equal.

Syntax:

test := AbelianGroupEqual(g1, g2);

groups
  g1, g2  
boolean
  test  

Description:

Returns true iff the groups g1 and g2 are contained in each other. Otherwise false is returned.


Example:


kash> g1 := AbelianGroupCreate([[0,1,2],[5,6,0],[0,4,5]]);
Group with relations:
[0 1 2]
[5 6 0]
[0 4 5]
kash> g2 := AbelianSubGroup(g1, [1,1,1]);
Group with relations:
[15]
kash> test := AbelianGroupEqual(g1, g2);
true



Example:

Note:

kash> g1 = g2;
> false


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