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

 


AbelianGroupDirectProduct

Returns the direct product of two finite abelian groups.

Syntax:

d := AbelianGroupDirectProduct(g1, g2);
d := AbelianGroupDirectProduct(L);

groups
  g1, g2, d  
list
  L  
list of groups

Description:

In the first case the direct product d of the group g1 and the group g2 is computed. In the second case the direct product d of all groups in the list is computed. Instead of using AbelianGroupDirectProduct you may use the * operator (see example).


Example:

Compute the direct product using AbelianGroupDirectProduct:

kash> g1 := AbelianGroupCreate([[5]]);
Group with relations:
[5]
kash> g2 := AbelianGroupCreate([[7,7],[6,8]]);
Group with relations:
[7 7]
[6 8]
kash> d := AbelianGroupDirectProduct([g1, g2]);
Group with relations:
[5 0 0]
[0 7 7]
[0 6 8]



Example:

Compute the direct product using *:

kash> d := g1*g2;
Group with relations:
[5 0 0]
[0 7 7]
[0 6 8]



Example:

Compute the power \bigoplus_{i = 1}^{4}g_{1}:

kash> p := g1^4;
> Group with relations:
[5 0 0 0]
[0 5 0 0]
[0 0 5 0]
[0 0 0 5]


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