Macaulay2 » Documentation
Packages » SubalgebraBases :: GeneratorSymbol
next | previous | forward | backward | up | index | toc

GeneratorSymbol -- variables for the presentationRing

Description

A symbol to be used for variables of the presentationRing.

i1 : R = QQ[x,y];
i2 : S = subring({x^2, y^2, x*y}, GeneratorSymbol => f)

o2 = QQ[f_1..f_3], subring of R

o2 : Subring
i3 : (x+y)^4 // S

      2    2                     2
o3 = f  + f  + 4f f  + 4f f  + 6f
      1    2     1 3     2 3     3

o3 : QQ[f ..f ]
         1   3

If a symbol is not specified, then the variables of the presentationRing are indexed from 0 and use the default symbol. If a symbol is specified, then the indices start from 1.

See also

Functions with optional argument named GeneratorSymbol :

For the programmer

The object GeneratorSymbol is a symbol.