Macaulay2 » Documentation
Packages » GKMVarieties :: makeCharacterRing
next | previous | forward | backward | up | index | toc

# makeCharacterRing -- constructs the character ring of a torus

- Usage:
    `makeCharacterRing n`
- Inputs:
  - n, an integer,
- Outputs:
  - a ring, with n variables and inverses are allowed

## Description

Given an integer n, this method outputs the character ring of T = $(\mathbb C^*)^n$.

    i1 : R = makeCharacterRing 4

    o1 = R

    o1 : PolynomialRing

    i2 : describe R

    o2 = ZZ[T ..T , Degrees => {4:1}, MonomialOrder => {MonomialSize => 32}, Inverses => true]
             0   3                                     {Weights => {4:1}  }
                                                       {GroupLex => 4     }
                                                       {Position => Up    }

## Ways to use makeCharacterRing:

- `makeCharacterRing(ZZ)`

## For the programmer

The object makeCharacterRing is a method function.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/GKMVarieties/Documentation_GKMVarieties.m2:1161:0.