FA-91354 / Digital signal filters / Member archive
Streaming FIR correlates instead of convolving · case 04
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 16 | [[4, -14, 8, -2], [12, -10, 12, -2]] | [[-4, 14, -8, 2], [-12, 10, -12, 2]] | 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 ↗