The in_ideal command determines whether or not a polynomial is in an ideal.
If gbasis is computed with a different order from the default, then vars must use the same order.
in_ideal((x+y)^2,[y^2,x^2+2*x*y],[x,y]) |
|
in_ideal([(x+y)^2,x+y],[y^2,x^2+2*x*y],[x,y]) |
|
in_ideal(x+y,[y^2,x^2+2*x*y],[x,y]) |
|