Re: Removing constant multiples from polynomials

*To*: mathgroup at smc.vnet.net*Subject*: [mg73438] Re: [mg73383] Removing constant multiples from polynomials*From*: Bob Hanlon <hanlonr at cox.net>*Date*: Fri, 16 Feb 2007 01:05:17 -0500 (EST)*Reply-to*: hanlonr at cox.net

z=1276(x-1)(y-2)/397; z/.a_?NumericQ*expr_:>expr (x-1) (y-2) Bob Hanlon ---- Azumanga <4zumanga at gmail.com> wrote: > I am working on an algorithm which manipulates sets of polynomials. > Often it produces (after an application of FullSimplify) polynomials > like: > > 1276(x-1)(y-2)/397 > > I'm only interested in the solutions to the polynomial, so to me this > is "equivalent" to: > > (x-1)(y-2) > > As a short-term solution I call "GroebnerBasis" on the single > polynomial, which seems to perform this simplification. However is > there a simpler method? > > Thank you, > > Chris >