If you read http://www.jsoftware.com/help/dictionary/d430.htm, the right hand side of the definition (Infix), this example corresponds to:
x=: _2 u=: ] y=: 0".jfromcb'' FYI, -- Raul On Tue, Oct 9, 2012 at 8:46 AM, Dr. Heinz Schild <[email protected]> wrote: > Thank you for the very elegant formulation. > However, why "_2" works as it does, I do not understand. > > > Am 08.10.2012 um 20:10 schrieb Roger Hui <[email protected]>: > >> _2 ]\ 0".jfromcb '' may work, depending on your views on how an odd >> number of input numbers should be handled. >> >> >> >> On Mon, Oct 8, 2012 at 11:00 AM, Dr. Heinz Schild >> <[email protected]> wrote: >>> I want to read a list with coordinates (x, y) of unknown length from the >>> clipboard into an iPad and transform it into a table with 2 columns. The >>> following line works: >>> ((<.-:# Zi),2)$ Zi=. 0". jfromcb '' >>> But is there a better way using only a tacit formulation? >>> Heinz >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
