Multiply or divide two polynomials given as vectors.
1 2 3
Vectors representing two polynomials.
Polynomial multiplication realized simply by multiplying and summing up
all the coefficients. Division is an alias for
Polynomials are defined from highest to lowest coefficient.
Vector representing a polynomial. For division, it returns a list with 'd' the result of the division and 'r' the rest.
conv also realizes polynomial multiplication, through Fast Fourier
Transformation, with the drawback that small imaginary parts may evolve.
deconv can also be used for polynomial division.
1 2 3 4 5
 1 2 3 2 1 $d  1 1 1 $r  0.000000e+00 -1.110223e-16
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.