Top Posts
- msum using sliding window in kdb+
- Generate all subsets of a string in q/KDB+
- Cumulative Normal Distribution in Q/KDB+
- N Queens : all possible solutions in q/kdb+
- Regular Expressions in q/KDB+
- Equality of Strings in q/KDB+
- Shorter Code to Generate all Permutations of a string in q/KDB+
- Happy Pi Day - Calculation of Pi in q/KDB+
- Generate all permutations in q/KDB+
- Learning Q KDB+
Categories
- KDB (6)
- Pricing (4)
- Q (17)
- Q Idioms (3)
- Regression (3)
- Regular Expressions (3)
- Time Series (1)
-
Join 18 other subscribers
Archives
Tag Cloud
Blog Stats
- 73,295 hits
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