[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: intersection of 2 arrays

Dave Marshall (dmarshall@ivory.trentu.ca) writes:

> I never seem to have the problem at the time when it is being discussed 
> here since I remember something about this in the past.
> I have 2 arrays and would like a 3rd that contains the set intersection of 
> the 2. Each element in each is unique. 
> This seems like a basic function but after searching in help, etc. I didn't 
> come up with an elegant solution. Maybe its too basic and I should know it?

There is some information about this sort of thing in this
article on my web page:




David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155