On 4/15/06, Miller, Raul D <[EMAIL PROTECTED]> wrote: > June Kim wrote: > > Could you suggest easier way of doing this? I especially don't like > > the verb l and wish to have a purely tacit one. > > > > n=: 0&, ~: ,&0 > > v=: (] ,~ ' ' $~ [) > > l=: 13 : '(n&.>)^:(i.y) < 1' > > xortr=:[: > ([: |. i.) v&.> [: ":&.> l > > This might give you some ideas: > > (i. 7) n&.>@]^:[ < 1 > +-+---+-----+-------+---------+-----------+-------------+ > |1|1 1|1 0 1|1 1 1 1|1 0 0 0 1|1 1 0 0 1 1|1 0 1 0 1 0 1| > +-+---+-----+-------+---------+-----------+-------------+ > (-i.-7)|."_1":@>(i. 7) n&.>@]^:[ < 1 > 1 > 1 1 > 1 0 1 > 1 1 1 1 > 1 0 0 0 1 > 1 1 0 0 1 1 > 1 0 1 0 1 0 1
Wow. This is a very interesting technique. To summarize it: if you want to make a tacit verb which includes a power, you could use [ and ]. if the verb was 3 : 'f1^:y s' you can make it into a tacit form with 13 : however, using this technique, you could use 3 : 'y [EMAIL PROTECTED]:[ s' and with 13 : the tacit form is attainable as: s [EMAIL PROTECTED]:[~ ] Am I right? This technique could be generalized to get hard-to-get tacit verbs with 13 :. Thank you. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
