That is very clever. I don't think I have ever seen or thought of
using #\  and I haven't even yet investigated inv# especially as the
middle of a fork.

On Tue, Sep 18, 2012 at 10:08 AM, Raul Miller <[email protected]> wrote:
>
>    takecut=: *@[ #inv ] </.~ +/\@[ I. #\@]
>    0 0 3 3 0 2 takecut i. 7
> ┌┬┬─────┬─────┬┬─┐
> │││0 1 2│3 4 5││6│
> └┴┴─────┴─────┴┴─┘
>
> --
> Raul

-- 
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to