Is there a command relevant to finding the constant coefficient of any term in a multivariate polynomial in Maple?
For example.
If I have p=2*x*y^2+3*x^2*y. Then I want to specify a monomial term(x*y^2) and be able to extract the coefficient(2). So if I want to find the coefficient of x^2*y^2 it should return 0 and if I want to find the coefficient of x*y it should also return 0 and not 2*y+3*x.
This seems like something "natural" that should be programmed into a "good" software like Maple.
But thanks for your help.
– domoremath Jun 11 '13 at 00:38Gthat I gave does not suffice. You can call G(p, e) for an arbitrary termeand get its coefficient inp. The coding ofGdoes not require knowledge of the number of variables in thepto be used subsequently. – acer Jun 11 '13 at 01:48