I\'m mucking about with Julia and can\'t seem to get multidimensional array comprehensions to work. I\'m using a nightly build of 0.20-pre for OSX; this could conceivably be
This is another (albeit convoluted) way:
x1 = 1 x2 = 5 y1 = 6 y2 = 10 x = [x for x in x1:x2, y in y1:y2] y = [y for x in x1:x2, y in y1:y2] xy = cat(2,x[:],y[:])