In NUVOC https://code.jsoftware.com/wiki/Vocabulary/curlylf#dyadic I read : "A 
selector of a: designates an omitted axis which is taken in full."
How is this done in 
https://code.jsoftware.com/wiki/Vocabulary/curlylfcoco#dyadic ?

MWE. 
With from:

   ]y =. 1 2,3 4,:5 6 7
1 2 0
3 4 0
5 6 7

   (< a:,&<1){y
2 4 6

With fetch, which x and foo (using {:: ) produces

   ]y =. 1 2;3 4;5 6 7
┌───┬───┬─────┐
│1 2│3 4│5 6 7│
└───┴───┴─────┘
  x foo y       
2 4 6

or 
  x foo y       
┌─┬─┬─┐
│2│4│6│
└─┴─┴─┘

like 1{S:0 y or 1{L:0 y does.


R.E. Boss
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to