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

 


AbelianGroupSmithCreate

Returns the smith normal form of a group.

Syntax:

s := AbelianGroupSmithCreate(g [, generators]);

group
  g, s  
boolean
  generators  

Description:

Returns the smith normal form s of g: the relation matrix of s is in smith normal form. The groups s and g are isomorphic. If the second (optional) parameter generators is true then the new generators are computed, too. This is useful if you often use the discrete exp.


Example:


kash> g := AbelianGroupCreate([[15,5,-5,10],[0,0,0,50],[6,6,6,6]]);
Group with relations:
[15  5 -5 10]
[ 0  0  0 50]
[ 6  6  6  6]
kash> s := AbelianGroupSmithCreate(g);
> Group with relations:
[ 10   0   0]
[  0 300   0]
[  0   0   0]


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