kdb+ and q
Q+A on all things kdb+ database and the q language
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! {$["j";x in V]'[x;"_"]} / Case

https://code.kx.com/q/learn/reading/strings/#c_ns_n_nts {$["j";x in V]'[x;"_"]} / Case May I ask how does each both work here please?

composition confusion

Composition has many "weired" syntax . Are they overloads of adverbs ? Is '[f ff] overload of ' adverb Another example is '[;]/[(g;f;ff)]

Vector programming in q – online workshop – Sun 25 Sep

If you learned long ago to break problems into loops, writing vector solutions takes study and practice. (It is actually easier for students who have not previously learned a ‘scalar’ language.) Much more is possible than just replacing for-loops wit...

SJT by Valued Contributor
  • 2 replies
  • 3 kudos

Resolved! Accumulators - Access additional list / column

I have a table created like below. t:([]c: 30 40 25 20 4 4; c1: 10 20 5 25 5 4) c2 is calculated Column (value from c1 or prev c2 is used based on evaluation). prev value is taken as 0 for first row / if not available Below are the calculations. c c1...

RV by New Contributor III
  • 9 replies
  • 0 kudos

Resolved! Each Parallel issue

Follows https://code.kx.com/q/basics/peach/, The result of m':[x] is exactly the same as m'[x]. If no secondary tasks are available, performance is the same as well. but m':[x] more fast and less memory used. Is not m'[x] parallel execuation??...

k-mambo by New Contributor III
  • 1 replies
  • 0 kudos