On 1/2/08, Yuvaraj Athur Raghuvir <[EMAIL PROTECTED]> wrote: > Hello, > > I have a 2-D array T. I want a verb update as follows: > (i;j;val) update T > > The result is that the table T is updated with the value val at the location > (i;j)
update=: (_1{::[)` (<@}:@[)` ] }
(1;2;3) update 10+i.4 4
10 11 12 13
14 15 3 17
18 19 20 21
22 23 24 25
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
