Null vector would be more consistent.

On Tue, Jan 27, 2009 at 3:01 PM, Roger Hui <[email protected]> wrote:

>    x=: 3 5 $     5 7 2 9 1    6 5 2 0 5    4 7 2 2 5
>
> Use one of the following depending on your needs:
>
>    <@I. 5 = x
> +-+---+-+
> |0|1 4|4|
> +-+---+-+
>
>    x i."1 ]5
> 0 1 4
>
>
>
> ----- Original Message -----
> From: David Vincent-Jones <[email protected]>
> Date: Tuesday, January 27, 2009 11:57
> Subject: [Jprogramming] Indices Question
> To: JSoftware <[email protected]>
>
> > I am looking for the exact location of the first specific value (5)
> > found in each row
> >
> >    I. 5 = 3 5 $     5 7 2 9
> > 1    6 5 2 0 5    4 7 2 2 5
> > 0 0
> > 1 4
> > 4 0
> >
> > The result for line one is ambiguous .. it can appear that no
> > items were
> > found or col. 1 should be used.
> >
> > How should I make this less ambiguous?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Use Reply-To: & thread your email
after the first: or it may take a while, as
I get 2000+ emails per day.
--

Roy A. Crabtree
UNC '76 gaa.lifer#  11086

703-318-2106 (msgs only, use my name)

(mail, residence)
Roy A. Crabtree
3322 Wheeler Road SE
Oak Hill Apartments #T-4
Washington, DC 20032-4166

(secondary mail)
Roy A. Crabtree
USPS POB 58097
Washington, DC 20034-8097
[When you hear/read/see/feel what a y*ehudi plays/writes/sculpts/holds]
[(n)either violinist {Menuhin} (n)or writer {"The Y*ehudi Principle"} (n)or
molder (n)or older]
[you must strive/think/look/sense all of it, or you will miss the meanings
of it all]

[email protected] Forwards only to:
[email protected]
[email protected] CC: auto to ^

http://musings-roy-crabtree.blogspot.com [& others]
http://www.authorsden.com/royacrabtree
http://skyscraper.fortunecity.com/activex/720/resume/full.doc
--
(c) RAC/IP, ARE,PRO,PAST
(Copyright) Roy Andrew Crabtree/In Perpetuity
   All Rights/Reserved Explicitly
   Public Reuse Only
   Profits Always Safe Traded
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to