polynomial_multiply, a Python code which computes the product of two polynomials.

A polynomial p(x) of degree n is represented by a list of n+1 coefficients, so that p(x) = c(0) + c(1) x + c(2) x^2 + ... + c(n) x^(n)


The computer code and data files made available on this web page are distributed under the MIT license


polynomial_multiply is available in a MATLAB version and a Python version.

Related Data and Programs:

combo, a Python code which includes routines for ranking, unranking, enumerating and randomly selecting balanced sequences, cycles, graphs, Gray codes, subsets, partitions, permutations, restricted growth functions, Pruefer codes and trees.

monomial, a Python code which enumerates, lists, ranks, unranks and randomizes multivariate monomials in a space of M dimensions, with total degree less than N, equal to N, or lying within a given range.

polynomial, a Python code which adds, multiplies, differentiates, evaluates and prints multivariate polynomials in a space of M dimensions.

r8poly, a Python code which contains a number of utilities for polynomials with R8 coefficients, that is, using double precision or 64 bit real arithmetic.

subset, a Python code which enumerates, generates, ranks and unranks combinatorial objects including combinations, compositions, Gray codes, index sets, partitions, permutations, subsets, and Young tables.

Source Code:

Last modified on 23 October 2022.