Macaulay2 » Documentation
Packages » Macaulay2Doc :: describe
next | previous | forward | backward | up | index | toc

describe -- real description

Synopsis

Description

describe X returns an Expression containing the real description of X, bypassing the feature that causes certain types of things to acquire, for brevity, the names of global variables to which they are assigned.

For example, it also displays the options used at creation of polynomial rings.

i1 : R = ZZ/101[a,b,c_1,c_2];
i2 : R

o2 = R

o2 : PolynomialRing
i3 : describe R

      ZZ
o3 = ---[a..b, c ..c , Degrees => {4:1}, Heft => {1}]
     101        1   2
i4 : toString describe R

o4 = (ZZ/101)[a..b, c_1..c_2, Degrees => {4:1}, Heft => {1}]
i5 : toExternalString R

o5 = (ZZ/101)[a..b, c_1..c_2, Degrees => {4:1}, Heft => {1}]
i6 : QQ[x, dx, WeylAlgebra => { x => dx }]

o6 = QQ[x, dx]

o6 : PolynomialRing, 1 differential variable(s)
i7 : describe oo

o7 = QQ[x, dx, Degrees => {2:1}, Heft => {1}, WeylAlgebra => {{x, dx}}]

See also

Ways to use describe :

For the programmer

The object describe is a method function with a single argument.