Kernel: Python 3
expression.rweight(weight)
The right scalar product of an expression by a weight.
See also:
Examples
In [1]:
In [2]:
Out[2]:
In [3]:
Out[3]:
Instead of e.rweight(w), you may write e * w.
In [4]:
Out[4]:
You may even run the simpler:
In [5]:
Out[5]: