Kernel: Python 3
polynomial
.rweight(weight)
The left scalar product of a polynomial by a weight.
See also:
Examples
In [1]:
In [2]:
In [3]:
Instead of p.rweight(w)
, you may write w * p
.
In [4]:
You may even run the simpler:
In [5]:
Polynomials of expressions
In the following polynomial, note that 2 and 3 are weights in the polynomial, but 5 is a weight in the expression.
In [6]:
In [7]:
In [8]:
This is very different from left-scalar product.
In [9]: