4.7.1.1 MPolynomialRing_base Objects

class MPolynomialRing_base
MPolynomialRing_base( base_ring, [n=x], [var=1])

Instances of class MPolynomialRing_base have the following methods (in addition to inherited methods and special methods):

characteristic

These methods are defined as follows:

characteristic( )

Return the characteristic of this polynomial ring.

sage: R = PolynomialRing(RationalField(),3)
sage: R.characteristic()
0
sage: R = PolynomialRing(GF(7),20)
sage: R.characteristic()
7

See About this document... for information on suggesting changes.