(#: -: ([: }."1 |.@:(2| <.@-:^:a: )&.|:)) 00   (#: -: ([: }."1
|.@:(2| <.@-:^:a: )&.|:)) _10   (#: -: ([: }."1 |.@:(2| <.@-:^:a:
)&.|:)) _20   (#: -: ([: }."1 |.@:(2| <.@-:^:a: )&.|:)) _31

-- 
Raul
On Tue, Dec 27, 2011 at 2:11 PM, Aai <agroeneveld...@gmail.com> wrote:
> This fixes the negative problem:
>
>    (#: -: ([: }."1 |.@:(2| <.@-:^:a: )&.|:)) i:16
> 1
>
>
>
> On 27-12-11 19:29, Raul Miller wrote:
>> This is prettier than mine, but also has problems with negative numbers:
>>
>>     |.@:(2| [:}:<.@-:^:a: )&.|: _4
>> 0 0
>>     #: _4
>> 1 0 0
>>
>
> --
> Met vriendelijke groet,
> @@i = Arie Groeneveld
>
> ----------------------------------------------------------------------
> 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