comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how to get index of array B data in array A
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
how to get index of array B data in array A [message #14613] Thu, 11 March 1999 00:00 Go to previous message
Gary Fu is currently offline  Gary Fu
Messages: 9
Registered: April 1997
Junior Member
Hi,

Is there a simple way to get the index of the array B data in array A ?

For example : A = [10,20,30,40,50], B = [10, 20, 33, 10, 30, 40, 9]
I want like to get the index array of B in A [0, 1, -1, 0, 2, 3, -1]

Thanks.

Gary

--

*****************************************
* Gary Fu, GSC (301) 286-7107 *
* email : "gfu@seadas.gsfc.nasa.gov" *
* NASA/Goddard Space Flight Center *
*****************************************
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Maximum memory under Windows NT
Next Topic: Re: working with very large data sets

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:37:23 PDT 2025

Total time taken to generate the page: 1.11953 seconds