I found a different way of "guard"ing: enc=: 0,~0,] guard=:[: > [: (4 :'enc"x y')&.>/ <"0@>:@[EMAIL PROTECTED]@$ , <
It's basic idea is using the form of "1 f 2 f 3 f array". But still, not a tacit version. 2008/6/19 Raul Miller <[EMAIL PROTECTED]>: > On 6/18/08, Tracy Harms <[EMAIL PROTECTED]> wrote: >> The approach I took to writing "guard" is one that works regardless of >> noun rank. To summarize it in English: >> Insert the argument into the center of a matrix sized two greater on each >> axis. > > You can write a tacit amend using the dyad > left`middle`right} > > For example: > guard=: ]`([:<"1 [EMAIL PROTECTED] >:@#: [EMAIL PROTECTED]@])`(0 $~ 2 + > [EMAIL PROTECTED])}~ > > However, I think that using overtake would be more efficient > for this case. > > -- > Raul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
