next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: char

char -- computes the characteristic of the ring or field

Synopsis

Description

i1 : R = ZZ/10007[x,y];
i2 : char R

o2 = 10007
i3 : R = ZZ[x]/823671827384723894723894723892

o3 = R

o3 : QuotientRing
i4 : char R

o4 = 823671827384723894723894723892

Ways to use char :