Mamba (Gu & Dao, 2023) models sequences with a continuous linear system, then discretizes it with a step size that the input controls. Zero-order hold gives the discrete state transition and input gain.
Implement zoh_discretize(A, B, delta), the discrete transition and input for one step.
A_bar is the exponential of delta times A; B_bar is (A_bar minus one) divided by A, times B.
No results yet
Run your code to check it against the examples, or submit to run every test.