Tag Archives: scan(\)

msum using sliding window in kdb+

I implemented the msum verb in kdb+ using the sliding window code. First step is to find the sliding window function in q using scan operator : q)sw:{{1 _ x, y}\[x#0;y]} q)y 1 6 21 56 The first argument of … Continue reading

Posted in Q | Tagged , | 1 Comment