pchanial/pyoperators — Issue #5: ENH: Implement context manager for '*' sign
Author: pchanial
Created: 2012-01-13 09:59:29+00:00
State: open

Currently, the '*' sign stands for operator composition, and it can be confusing when multiplying non-linear operators.
Since it is possible to do composition in an alternate way by writing H1(H2), let's have a mode controlled by a context manager, which does something something like :

with times_means_multiplication():
H = H1(H2*H3)

which would represent the function: h1(h2(x)*h3(x))