I thought of this as well (in a generalized form):

  v (i,~&.>i.#i)}(#i)#,:a

On 6/11/07, Don Guinn <[EMAIL PROTECTED]> wrote:

Or you could reshape a into a table so the normal amend as described in
help
works, depending on what your real problem looks like.

   v(<"1(i.4),.i)}4#,:a
0 1 4 2 0 3
0 1 5 2 0 3
0 1 0 2 6 3
7 1 0 2 0 3


On 6/11/07, John Randall <[EMAIL PROTECTED]> wrote:
>
> For some reason I have a blind spot with amend.
>
> I have the following problem:

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




--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to