First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 3 years ago

mcmug gravatar image

How do I truncate multivariate polynomials?

Say that I have a polynomial ring

R.<a,b,c>=PolynomialRing(QQ)

How do a get the part of a polynomial P where the sum of degree in a,b, and c are less than a given number N? If P were a univariate polynomial, this could be done with P[:N].

Thank you in advance!