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

 


AbelianGroupName

Gives a name to a group.

Syntax:

AbelianGroupName(g, s);

group
  g  
string
  s  
name of g

See also:  AbelianGroupPrintLevel

Description:

Gives the name of a string s to a group g. The name of g is shown everytime when g is printed.


Example:


kash> g1 := AbelianGroupCreate(Mat(Z, [[2,1], [1,3]]));
Group with relations:
[2 1]
[1 3]
kash> g2 := AbelianGroupCreate(Mat(Z, [[2,1], [1,3]]));
Group with relations:
[2 1]
[1 3]
kash> AbelianGroupName(g1, "first group");
kash> AbelianGroupName(g2, "second group");
kash> g1;
first group
Group with relations:
[2 1]
[1 3]
kash> g2;
> second group
Group with relations:
[2 1]
[1 3]


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