next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: isPolynomialRing

isPolynomialRing -- whether someting is a polynomial ring

Synopsis

Description

i1 : isPolynomialRing CC

o1 = false
i2 : isPolynomialRing(ZZ/7[x,y])

o2 = true
i3 : isPolynomialRing(QQ[x,dx, WeylAlgebra => {x => dx}])

o3 = true
i4 : isPolynomialRing(GF(2)[x,y, SkewCommutative => true])

o4 = true
i5 : isPolynomialRing(ZZ/101[x,y,z]/(x^2-y*z))

o5 = false

Ways to use isPolynomialRing :

For the programmer

The object isPolynomialRing is a method function.