`Switch` that can happen randomly. Take probability law. Make it independent of previous value or dependent something like RandomSwitch(probability_law, before=0, after)
Switchthat can happen randomly.Take probability law.
Make it independent of previous value or dependent
something like
RandomSwitch(probability_law, before=0, after)