Given 2 vectors A and B; Concatenate each element of A with each element of B. So for example if
A
B
A: 0 1 2 B: 3 4 5
then the output should be (0 3;1 4; 2 5)
(0 3;1 4; 2 5)
Joining the two vectors using the each (each-both in this case) iterator returns your desired output.
q)0N!A,'B (0 3;1 4;2 5) 0 3 1 4 2 5
1.4m articles
1.4m replys
5 comments
57.0k users