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

parts(RingElement) -- display a polynomial degree by degree

Synopsis

Description

i1 : R = QQ[x,y];
i2 : f = (x+y+1)^2

      2           2
o2 = x  + 2x*y + y  + 2x + 2y + 1

o2 : R
i3 : parts f

                         2           2
o3 = (1) + (2x + 2y) + (x  + 2x*y + y )

o3 : Expression of class Sum

See also