Text this: Stability Theory of Switched Dynamical Systems