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

Home » Public Forums » archive » setintersection
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
setintersection [message #17156] Wed, 15 September 1999 00:00
Jonathan Joseph is currently offline  Jonathan Joseph
Messages: 69
Registered: September 1998
Member
Hi, I've grabbed the useful functions

SetIntersection(a,b) ; Common elements
SetUnion(a,b) ; Elements in either set
SetDifference(a,b) ; Elements in A but not in B

from David Fanning's web page
http://www.dfanning.com/tips/set_operations.html

But, what I really would like is a function
that would return the indeces in set A (or B) of
the intersection of A and B.

Does anyone know an efficient way to get this, or
will I have to resort to a loop?

-Jonathan
[Message index]
 
Read Message
Previous Topic: ENVI-Mixture Tuned Matched Filtering???
Next Topic: Re: converting Lat/Long to UK Ordnance Survey National Grid Reference (NGR)

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

Current Time: Wed Oct 08 14:52:21 PDT 2025

Total time taken to generate the page: 0.00348 seconds