Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: GCD of a list of polynomial coefficient

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50230] Re: [mg50219] GCD of a list of polynomial coefficient
  • From: DrBob <drbob at bigfoot.com>
  • Date: Sun, 22 Aug 2004 00:19:39 -0400 (EDT)
  • References: <200408210704.DAA24796@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

p[x_]=5x+10
k=CoefficientList[p[x],x]
GCD@@k

10+5 x

{10,5}

5

Bobby

On Sat, 21 Aug 2004 03:04:21 -0400 (EDT), John Vassiliou <vsp at mycosmos.gr> wrote:

> Dear Friends,
>
> I wand to get a GCD of a list of polynomial coefficients but
> had no luck, i.e. p[x]=5x+10, k=CoefficientList[p[x],x]={5,10},
> GCD[k]={5,10}. No result. I cant remove the curly braces from
> GCD[{...}] in order GCD to work. please help
>
> thanks
>
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: GCD of a list of polynomial coefficient
  • Next by Date: Statistical Time Series Analysis Toolbox Introductory Offer
  • Previous by thread: GCD of a list of polynomial coefficient
  • Next by thread: Re: GCD of a list of polynomial coefficient