I created a automatisation that assign different values to the coefficient of
Poly1 (a,b,c,d,e,f), this can be 0, eliminated some expression and in that moment I need to compare with the other polynomial if this expression can be removed, for example I have this:
Poly1:= a + by + cy^2 + dx + exy + fx^2 y^2
and I want to finish like this:
Poly2:= a + y + x + x^2 y^2
So, if assign
d=0, x disappear and I dont want that.
I dont care the final coefficient values, only is important keep the order of structure.
i think to use function
Length, like this:
IF[Length[Poly1] === 4, True, False]
Is a good idea, but I dont know what term I am going to get.
Other idea is compare the
If[Poly1 === Poly2,True,False]
But I need to eliminate the coefficients of
Poly1 only for compare and not using
Poly1 can have more terms that
Poly1 contains the terms of
Poly1 is okay.