[Jprogramming] Ammend problem
Miller, Raul D
rdmiller at usatoday.com
Mon Feb 13 11:42:55 HKT 2006
p j wrote:
> x =:5 $ (#: i.5)
> m =:5 4 $ 2 1 3 0 4 6 7 8 5
> y =: 9 3 $ 1 0
> I'm trying to get the following:
> for each row of x, update 4 rows of y given by the 4
> indices in m and holding the x row constant, to
> boolean expression (y>x).
Note that the same index into y appears multiple times in m
Here's an illustration of what that means if you're using Amend:
7 8 9 (1 1 1}) i. 4
0 9 2 3
Is the problem you're having that you don't
want only one of the changes to happen but
instead want these operations to take place
sequentially?
Thanks,
--
Raul
More information about the Programming
mailing list