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

Home » Public Forums » archive » Re: Array comparison
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: Array comparison [message #32343 is a reply to message #32342] Wed, 02 October 2002 07:53 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sean Raffuse (sean@me.wustl.edu) writes:

> That is indeed true. Actually, I'm not interested in anything but whether
> or not an intersection exists. Neither the values nor the indices are
> important.
>
> I am not doing this on very large arrays. However, I may be doing it many,
> many times.

I've always found the set intersection, union, and difference
routines on my web page useful for these kinds of operations.
I've modified them some to do better error checking, etc.,
but this only takes a couple of seconds.

http://www.dfanning.com/tips/set_operations.html

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Looking for more ideas on code ...
Next Topic: Re: ROI application...

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

Current Time: Sat Oct 11 06:12:32 PDT 2025

Total time taken to generate the page: 0.64163 seconds