base_ring, [n=x], [var=1]) |
characteristic
These methods are defined as follows:
) |
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.