3((, $ ] # [: i. [) , [: i. ])5 0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 0 1 2 3 4 This one also works.
Den 12:16 lørdag den 7. juni 2014 skrev Bo Jacoby <[email protected]>: > > > > 0,1,2,:i.5 >0 0 0 0 0 >1 1 1 1 1 >2 2 2 2 2 >0 1 2 3 4 > >OK? >Bo > > > > >Den 11:04 lørdag den 7. juni 2014 skrev Raul Miller <[email protected]>: > > >> >> >>Perhaps >> a ((#"0~ #), ])b >> >>Thanks, >> >>-- >>Raul >> >> >>On Sat, Jun 7, 2014 at 3:58 AM, R.E. Boss <[email protected]> wrote: >> >>> 'a b'=.3;&i. 5 >>> >>> >>> >>> a ([:|:,"1 0) b >>> >>> 0 0 0 0 0 >>> >>> 1 1 1 1 1 >>> >>> 2 2 2 2 2 >>> >>> 0 1 2 3 4 >>> >>> >>> >>> is what I want, but isn't there a more elegant way? >>> >>> >>> >>> >>> >>> R.E. Boss >>> >>> >>> >>> (Add your info to <http://www.jsoftware.com/jwiki/Community/Demographics> >>> http://www.jsoftware.com/jwiki/Community/Demographics ) >>> >>> >>> >>> >>> >>> ---------------------------------------------------------------------- >>> 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
