Re: CoefficientList[] option
- To: mathgroup@smc.vnet.net
- Subject: [mg12623] Re: CoefficientList[] option
- From: "Allan Hayes" <hay@haystack.demon.cc.uk>
- Date: Tue, 26 May 1998 02:38:22 -0400
- References: <6kb0s5$3k1@smc.vnet.net>
Alex Bates wrote in message <6kb0s5$3k1@smc.vnet.net>...
..........
>Is there a way to force CoefficientList[] to pad out its list to P+1
>elements (so that the List it outputs corresponds to a rectangular
>matrix?)
CoefficientList[a + b x + c x^4 + p x^7,x]/.p->0
{a,b,0,0,c,0,0,0}
------------------------------------------------------------- Allan
Hayes
Training and Consulting
Leicester UK
http://www.haystack.demon.co.uk
hay@haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44(0)116 271 8642