MathGroup Archive 2004

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

Search the Archive

Re: GCD of a list of polynomial coefficient


Hello John,

define

mygcd[{list___}]:=GCD[list];
mygcd[{5,4,3}] (* example *)

1

Greetings from Hamburg,

Michael Taktikos


"John Vassiliou" <vsp at mycosmos.gr> schrieb im Newsbeitrag
news:cg6sp7$ocd$1 at smc.vnet.net...
> 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
>



  • Prev by Date: Re: GCD of a list of polynomial coefficient
  • Next by Date: Re: GCD of a list of polynomial coefficient
  • Previous by thread: Re: GCD of a list of polynomial coefficient
  • Next by thread: Re: GCD of a list of polynomial coefficient