Re: GCD of a list of polynomial coefficient
- To: mathgroup at smc.vnet.net
- Subject: [mg50243] Re: GCD of a list of polynomial coefficient
- From: Richard Fateman <rfateman at sbcglobal.net>
- Date: Sun, 22 Aug 2004 00:19:54 -0400 (EDT)
- References: <cg6sp7$ocd$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Try Apply[GCD,k]
John Vassiliou 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
>