I know. I should have mentioned it: only for non-negative integers.

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

Reply via email to