MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Removing constant multiples from polynomials


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
> 



  • Prev by Date: Re: real function argument
  • Next by Date: Re: unistallation problem
  • Previous by thread: Re: Removing constant multiples from polynomials
  • Next by thread: Re: Removing constant multiples from polynomials