The S4 kernel turns the state space model into a causal convolution. Applying the kernel to the input is the same computation as running the recurrence, which the next question checks.
Implement causal_conv_from_kernel(K, x), the causal convolution of the input with the kernel.
For each output step, sum the kernel taps times the inputs that many steps back, stopping at the start of the sequence.
No results yet
Run your code to check it against the examples, or submit to run every test.