next | previous | forward | backward | up | top | index | toc | home

generators(Ring) -- the list of generators of a ring

Synopsis

Description

i1 : A = QQ[x,y];
i2 : gens A

o2 = {x, y}

o2 : List
If the coefficient ring has variables, then allGenerators gives the list of all of these, whereas generators gives only the newest variables.
i3 : kk = toField(QQ[t]/(t^3-t-1));
i4 : B = kk[x,y,z];
i5 : generators B

o5 = {x, y, z}

o5 : List
i6 : allGenerators B

o6 = {x, y, z, t}

o6 : List

See also