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

 


AbelianGroupNumberGenerators

Returns the number of generators.

Syntax:

a := AbelianGroupNumberGenerators(g);

group
  g  
integer
  a  

See also:  AbelianGroupGenerators

Description:

Returns the number of generators of a group g in the current representation.


Example:


kash> g := AbelianGroupCreate(Mat(Z, [[2,1], [1,3]]));
Group with relations:
[2 1]
[1 3]
kash> a := AbelianGroupNumberGenerators(g);
> 2


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