in reply to Re: (Golf) Multiply polynomials
in thread (Golf) Multiply polynomials
sub p { my($a,$b)=(shift,shift); my@c=map{my($d,$e);for$e(0..$_){$d+=$$a[$e]*$$b[$_-$e]}$d}0..$#$a+$# +$b; @_?p(\@c,@_):\@c }
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re: (Golf) Multiply polynomials
by tye (Sage) on May 07, 2001 at 22:09 UTC |