Expand description
Stable segment-sum → 1-semiseparable mask (log-space prefix-sum differences).
Stable segment-sum, the building block of the SSD 1-semiseparable mask L.
L[i, j] = exp(segsum(a)[i, j]) is the causal decay from step j to i;
computing it via differences of log-space prefix sums (rather than chained
products) keeps it stable over long sequences. See segsum for the math.
Functions§
- segsum
- Compute stable segment sums for constructing the 1-semiseparable mask.