if v =. 2; 1 3 5, then 10 (<v) } mx replaces
elements (2,1), (2,3) and (2,5) of mx by 10.

Can this be generalized? Let v =. 2 2 $ 2; 1 3 5 ; 3 ; 1 4
and let q =. 10 20. I'd like to replace the elements formed
in row 0 of v by 10 (as before) and also those formed by
row 1 of v (ie elements (3,1) and (3,4) ) by 20. Is there
a way to do this? I can't figure it out.

Thanks!

------------------------
Philip A. Viton
City Planning, Ohio State University
275 West Woodruff Avenue, Columbus OH 43210
[EMAIL PROTECTED]

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to