Best program for multiplying many multivariable polynomials

422 Views Asked by At

I want to make a table with two columns:

The first column will consist of many(possibly hundreds) of polynomials in two variables.

The second column will be a function applied to all of the polynomials. For example, the product of each polynomial with another fixed polynomial.

What is the best way to do this?

1

There are 1 best solutions below

2
On

Such a computation in trivial in Maple or Mathematica. Here it is in Maple:

n:= 1000:
fixed:= randpoly([x,y]):
polys:= 'randpoly([x,y])' $ n:  polys:= < polys >:
Table:= < polys | expand~(fixed*~polys) >:

This takes 0.275 seconds on my computer. Therefore, you should use some other criterion to decide between the programs.