[aplusdev] points of grid?

Alexander Skomorokhov askom at obninsk.com
Thu Feb 7 01:42:16 EST 2002


How to create all points of some grid. What I do in APL with
x{jot}.,y

If, for istance, x<-1 2 3 and y<-4 5 then I get nested 3x2 matrix 
of all pairs of coordinates x and y like

|[1 4] [1 5]|
|[2 4] [2 5]|
|[3 4] [3 5]|

Thanks,
Sasha.



More information about the apluslist mailing list