---Devon McCormick>
> It's (to me) fairly non-intuitive if one wishes to do it by index:
> (<<<3) { i. 10 NB. Remove the 3th item
> So, analogously,
> (<<<2) { i. 5 5 NB. Remove row 2
Another way of describing the syntax above is
"Take all except" rather than "Remove". In other words
(<<<2) { i. 5 5
is equivalent to
0 1 3 4 { i. 5 5
> On Mon, 28 Apr 2008 22:11:38 -600, PackRat <[EMAIL PROTECTED]> wrote:
> >
> > My brain must have gone into hibernation or something for the past
> > couple of hours: no matter how much I've searched the
> documentation and
> > the forum archives, I cannot seem to find anything about
> deleting a row
> > from an array or inserting a row into an array. I was
> thinking that,
> > instead of dropping sequential items from the beginning or
> end (as with
> > "drop"), deleting would likely be along the line of a
> selected list of
> > one or more items (such as rows) to drop. (I suppose
> inserting would
> > be analogous in some manner.) However, try as I might, I
> couldn't find
> > anything that would seem to be so simple, maybe even a
> primitive (and
> > probably so obvious!)--hence, my frustration with myself.
> Could some
> > kind soul gently share how these would be done? Thanks in advance!
> >
> > Harvey
> >
> >
> ----------------------------------------------------------------------
> > 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm