Best program for multiplying many multivariable polynomials

$\begingroup$

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?

$\endgroup$ 3

1 Answer

$\begingroup$

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.

$\endgroup$ 2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like