Macaulay2 » Documentation
Packages » WittVectors :: wittLength
next | previous | forward | backward | up | index | toc

wittLength -- Returns the length of the Witt vectors in a given Witt ring

Description

If $WR = W_n(R)$ for some polynomial or quotient ring R, and some integer $n \geq 1$, wittLength(WR) returns the integer n.

i1 : R = GF(9)[x,y];
i2 : WR = witt(5, R);
i3 : wittLength(WR)

o3 = 5

Ways to use wittLength:

  • wittLength(WittPolynomialRing)
  • wittLength(WittQuotientRing)

For the programmer

The object wittLength is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/WittVectors/Documentation.m2:331:0.