Creating a list in KDB + / q

In KDB + / q, how can I get a list of lists using a function til

? It is til

not enough to simply pass the list to , since it gives an error 'type

;

q) til 2 3
'type

      

My desired output from the above would be

q) til something 2 3
1 2
1 2 3

      

How can I do that?

+3


source to share


1 answer


Use each one to achieve this



q) til each 2 3
0 1
0  1 2

      

+3


source







All Articles