Several variables, consider polynomail as polynomial only of X, group coefficients
Suppose I have variables d
, e
and x
and I somehow using symbolic calculation get polynomial like this:
9d2e2x2−36d2ex3+18de2x2
I want sage to group coefficients at x
and consider my polynomial as polynomial only of x
, I want other variables to be no more than just parameters. In short I want to see something like this:
9de2(d+2)x2−36d2ex3
Is it possible to exploit such an approach in Sage?
P.S. I shortened my example. In real life example it is not so easy to see such a grouping by hands.