parts f
By default, Macaulay2 displays a polynomial RingElement by putting its terms in decreasing order, with respect to the MonomialOrder of the ambient ring. On the other hand, parts will display the terms in order of increasing degree, regardless of the term order of the ring. Parentheses group together all terms of the same degree.
|
|
|
|
|
|
The output is an Expression of a special class, Parenthesize. Accessing the individual parenthesized parts of this expression is difficult, so for this purpose it may be better to use part.
|
|
The object parts is a method function.