polynomial.multiply(p)

Create a polynomial which denotes the product of both polynomials.

Preconditions:

  • None

See also:

Examples

In [1]:
import vcsn
ctx = vcsn.context('law_char, z')
poly = ctx.polynomial
poly('\e+<2>a+<3>b') * poly('c+d+<5>e')
Out[1]:
$\mathit{c} \oplus \mathit{d} \oplus \left\langle 5\right\rangle \mathit{e} \oplus \left\langle 2\right\rangle \mathit{ac} \oplus \left\langle 2\right\rangle \mathit{ad} \oplus \left\langle 10\right\rangle \mathit{ae} \oplus \left\langle 3\right\rangle \mathit{bc} \oplus \left\langle 3\right\rangle \mathit{bd} \oplus \left\langle 15\right\rangle \mathit{be}$