pub fn unit_impulse(n: usize, idx: usize) -> Vec<f64>
A unit impulse of length n at index idx (SciPy’s unit_impulse).
n
idx
unit_impulse