On 11/19/2012 01:21 AM, Dominic Steinitz wrote:
Dmitry Malikov gmail.com> writes:
Playing around with repa arrays and got some questions.
1) How I can get list of indexes of array that suffice some predicate?
> a1
AUnboxed (Z :. 3) (fromList [False,False,True])
it :: Array
Dmitry Malikov gmail.com> writes:
>
> Playing around with repa arrays and got some questions.
>
> 1) How I can get list of indexes of array that suffice some predicate?
>
> > a1
> AUnboxed (Z :. 3) (fromList [False,False,True])
> it :: Array U (Z :. Int) Bool
>
> Indexes of ele
Playing around with repa arrays and got some questions.
1) How I can get list of indexes of array that suffice some predicate?
> a1
AUnboxed (Z :. 3) (fromList [False,False,True])
it :: Array U (Z :. Int) Bool
Indexes of element that satisfying specific predicate could be obtained