<?xml version="1.0" encoding="windows-1252"?>
<node id="78498" title="(Golf) Multiply polynomials" created="2001-05-07 13:56:10" updated="2005-08-13 02:01:45">
<type id="120">
perlmeditation</type>
<author id="26179">
tilly</author>
<data>
<field name="doctext">
Well I have participated in enough golf tournaments, time
for me to open one.&lt;P&gt;

We can represent a polynomial P by an anonymous array of
its coefficients, with the i'th coefficient corresponding to the x**i term.  For instance:
&lt;code&gt;
[2,3]; # Represents (3x + 2)
&lt;/code&gt;
Write a function M, that in as few characters as possible takes a list of polynomials and calculates a polynomial that is the product of the list.  If called twice, it must return 2 different polynomials.&lt;P&gt;

PS I am just a ref on this one.</field>
</data>
</node>
