Returns polynomial coefficients as a dense Vector ordered by ascending power.
When no variable is supplied, the first variable in the expression is used, matching
the legacy parser helper. A constant expression therefore has the single coefficient
at power zero.