[Jprogramming] nonsequential 1s

Raul Miller rauldmiller at gmail.com
Thu Dec 20 22:05:21 HKT 2007


On Dec 20, 2007 8:37 AM, Tracy Harms <t_b_harms at yahoo.com> wrote:
> The following code works, and solves the following problem: identify
>  the items in a boolean table that contain non-contiguous ones.

Could you please define this problem in more detail.

For example, how does what you are looking for differ from something like
   (#~ 0 1 0 +./@E."1 0:,.0,.~]) b=: #:i.8
0 0 1
0 1 0
1 0 0
1 0 1

Thanks,

-- 
Raul


More information about the Programming mailing list