[Jprogramming] Amend problem

Devon McCormick devonmcc at gmail.com
Tue Jun 12 00:06:18 HKT 2007


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

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

On 6/11/07, Don Guinn <donguinn at pvtn.net> 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 <randall at andromeda.rutgers.edu> 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


More information about the Programming mailing list