FA-91355 / Digital signal filters / Member archive
Streaming FIR correlates instead of convolving · case 05
An asymmetric impulse response comes out time-reversed.
Case contract
Input [taps, blocks] of integers. Filter the concatenated stream with y[n] = sum_k taps[k] x[n-k] (zero initial history) while processing block by block; return the outputs grouped per input block.
Why this case matters
Block-based FIR processing must carry history across buffer boundaries or every block edge glitches.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: random stream 26 | [[0, 3, 2], [1, -7, -5, -8], [2, -5, -20], [-18, -8, 5]] | [[6, -2, 1], [-8, -9, 1, -1], [-14, -18, -17], [-2, 14, 18]] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗