Thank you both. That's what I was looking for.
On Wed, Feb 19, 2014 at 5:52 PM, Devon McCormick wrote:
>a#~a *./ . < 10
> if you want all elements in the row to be less than 10, or
>a#~a +./ . < 10
> if you want any element in a row to be less than 10.
>
>
> On Wed, Feb 19, 2014 at 5:50
a#~a *./ . < 10
if you want all elements in the row to be less than 10, or
a#~a +./ . < 10
if you want any element in a row to be less than 10.
On Wed, Feb 19, 2014 at 5:50 PM, Vijay Lulla wrote:
> (*./"1 a<10) # a
>
> maybe?
>
>
> On Wed, Feb 19, 2014 at 5:40 PM, Joe Bogner wrote:
>
> >
(*./"1 a<10) # a
maybe?
On Wed, Feb 19, 2014 at 5:40 PM, Joe Bogner wrote:
> This is an easy one, but it's escaping me after searching and trying
> several things
>
> How can I mimic this with a 2d array? I want to only return the rows the
> match a boolean expression
>
> Works
>a=: i. 10
This is an easy one, but it's escaping me after searching and trying
several things
How can I mimic this with a 2d array? I want to only return the rows the
match a boolean expression
Works
a=: i. 10
(a < 5) # a
0 1 2 3 4
Does not work the way I want...
a=:i. 5 10
a
0 1 2 3 4 5