adv =: ;@:
   3 <@%: 8,1%8
+-+---+
|2|0.5|
+-+---+
   3 <@%:adv 8,1%8
2 0.5
   <@%:adv
;@:(<@%:)


Sent from my iPad


On Feb 11, 2013, at 12:51 PM, Brian Schott <[email protected]> wrote:

> Marshall,
> 
>    In your post you use the adverb (;@:) . My experiments suggest that it is 
> a way to use only the left argument of a dyadic verb. Is that correct, and 
> how does it work? I am especially intriqued that is seems to work on the 
> middle tine of a fork.
> 
>   3([(;@:) ])7
> 3
>   3(<@[(;@:) <@])7
> 3
>   3(<@[(;@:) ])7
> 3
> 
>    An example of your code is below.
> 
> remel =: ([ }.~ [: >: i.)"_ 0
> 
> allfactors =: af q:
> 
> af =: [ , 4 : 0 ^: (*@#@])
>  x (% af&.>(;@:) y <@remel ]) ~.y
> )
> 
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to