You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Distribute a shift applied to a whole expression or equation.
367
369
Shift(t, 1)(x + y) will become Shift(t, 1)(x) + Shift(t, 1)(y).
368
370
Only shifts variables whose independent variable is the same t that appears in the Shift (i.e. constants, time-independent parameters, etc. do not get shifted).
369
371
"""
370
-
functiondistribute_shift(var)
371
-
var =unwrap(var)
372
-
var isa Equation &&returndistribute_shift(var.lhs) ~distribute_shift(var.rhs)
0 commit comments