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