numpy.polymul

numpy.polymul(a1, a2)

Returns product of two polynomials represented as sequences.

The input arrays specify the polynomial terms in turn with a length equal to the polynomial degree plus 1.

Parameters:

a1 : {array_like, poly1d}

First multiplier polynomial.

a2 : {array_like, poly1d}

Second multiplier polynomial.

Returns:

out : {ndarray, poly1d}

Product of inputs.

Previous topic

numpy.polydiv

Next topic

numpy.polysub

This Page

Quick search