# Exponent vector from a polynomial over three variables [closed]

I'm trying to find the exponent vector from a polynomial that has three variables.

For example

ClearAll["Global*"]
M = x^4 + x^2 z^4 + y z^6 + z^10 + y^4
p = CoefficientRules[M][[All, 1]]


works well but when the exponent is rational it does not work.

ClearAll["Global*"]
M1 = x^4 + x^(1/2) z^4 + y z^6 + z^10 + y^4
p1 = CoefficientRules[M1][[All, 1]]


I want the exponent vectors even if some exponents are rational.

## closed as off-topic by m_goldberg, LCarvalho, bbgodfrey, Bob Hanlon, MarcoBNov 9 '17 at 14:15

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – m_goldberg, LCarvalho, bbgodfrey, Bob Hanlon, MarcoB
If this question can be reworded to fit the rules in the help center, please edit the question.

• may be because CoefficientRules works only on polynomials. So you can't have powers that are fractions. It is no longer a polynomial then. You can check using PolynomialQ[M1, x] before calling CoefficientRules – Nasser Oct 28 '17 at 0:23

ClearAll["Global*"];

• For brevity, you could also use Exponent[#, {x, y, z}] & /@ List @@ M. – aardvark2012 Oct 28 '17 at 7:58
• It doesn't work for M = y z^6`. – Carl Woll Oct 28 '17 at 15:41