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

 


AbelianGroupGenerators

Returns generators of a group.

Syntax:

L := AbelianGroupGenerators(g [, exp]);

group
  g  
list
  L  
list of generators of g
boolean
  exp  

See also:  AbelianGroupNumberGenerators, AbelianGroupBasis

Description:

Returns a list of generators of the group g. If the second (optional) parameter exp is true then the discrete exp is applied.


Example:


kash> O := OrderMaximal(Z, 2, 10);
Generating polynomial: x^2 - 10
Discriminant: 40 

kash> g := RayClassGroupToAbelianGroup(3*O, [1, 2]);
RayClassGroupToAbelianGroup(<3>, [ 1, 2 ])
Group with relations:
[4 0]
[0 2]
kash> l := AbelianGroupGenerators(g);
[ [1 0], [0 1] ]
kash> l := AbelianGroupGenerators(g, true);
> [ <2, [0, 1]>, <[1, -3]> ]


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