Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 45898
Kernel: Python 3

polynomial.multiply(p)

Create a polynomial which denotes the product of both polynomials.

Preconditions:

  • None

See also:

Examples

import vcsn ctx = vcsn.context('law_char, z') poly = ctx.polynomial poly('\e+<2>a+<3>b') * poly('c+d+<5>e')

cd5e2ac2ad10ae3bc3bd15be\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}