<:@:+: 0 1
_1 1
   (_1 + +:)0 1 NB. for Linda
_1 1

> Date: Mon, 10 Dec 2012 19:13:05 -0500 (EST)
> From: Brian Schott <[email protected]>
> To: [email protected]
> Subject: [Jprogramming] convert 0,1 coding to _1,1
> Message-ID: <[email protected]>
> Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
> 
> Is there a better way than the verb `am` to do the 
> following?
> 
>     am =:_1& (I.@:-.@]})
>     am"1] 2 6 ?.@$ 2
> _1 _1 _1 _1 1 _1
> _1 _1 _1  1 1 _1


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to