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

Home » Public Forums » archive » Re: Efficient comparison of array location in two lists
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Efficient comparison of array location in two lists [message #75218 is a reply to message #75217] Mon, 21 February 2011 16:43 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Monday, February 21, 2011 6:59:57 PM UTC-5, Matt Francis wrote:

>
> IDL_MAGIC(foo1,foo2,indx1,indx2)
> print,indx1,indx2
> -> [0,1,2] [0,2,1]

One procedure to do this is match.pro
( http://idlastro.gsfc.nasa.gov/ftp/pro/misc/match.pro ).

the calling sequence would be
IDL> match,foo1,foo2,indx1,indx2

--Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: intersection of two tracks(lat,lon)
Next Topic: RK4 and IDL's array truncation

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

Current Time: Wed Oct 08 19:56:43 PDT 2025

Total time taken to generate the page: 0.00349 seconds