Kernel: Python 3
expansion
.lweight(weight)
The left scalar product of an expansion by a weight.
See also:
Examples
In [1]:
In [2]:
In [3]:
Instead of x.lweight(w)
, you may write w * x
.
In [4]:
You may even run the simpler:
In [5]:
The expansion of a scalar product is the scalar product of the expansion:
In [6]: