Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • $\begingroup$ Well I was just getting around to this method myself but you were six minutes faster so +1. :-) $\endgroup$ Commented Aug 3, 2013 at 5:37
  • $\begingroup$ Jens, do you see anything wrong with my second method? What do you see as the advantage or disadvantage of Sort[List @@ #] versus MonomialList@#? $\endgroup$ Commented Aug 3, 2013 at 5:50
  • $\begingroup$ @Mr.Wizard MonomialList is the right choice, I think. But using Sort seems like a cute, original twist. $\endgroup$ Commented Aug 3, 2013 at 6:09