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

Home » Public Forums » archive » Re: Finding the Non-Matching elements in two vectors
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: Finding the Non-Matching elements in two vectors [message #30246] Sun, 14 April 2002 07:57 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Nate Doyle wrote:
>
> Hi there,
> I'm pretty new to this whole IDL thing and was wondering if some of
> you could give me some help finding a solution to a little problem I'm
> having.
> The problem is this:
> I have three files that contain some data and I need to make sure that
> they all have the same amount. I have extracted a bunch of integers
> from each file and put them into vectors, one for each file. The
> numbers should match up because they are the days on which the data
> was collected and are consistant through out. The end result of my
> program is to make sure that the third file basically contains a list
> of all the matching elements of the first two. Or since I feel like
> I'm not being clear:
>
> It should be like this when I match the vectors up.
>
> File one: 2 7 9 10 15 17....
> File two: 2 7 9 10 15 17....
>
> File one: 2 7 9 10 15 17....
> File three: 2 7 9 10 15 17....
>

Dear Nate,

we have several of routines for such kind of problems.
For this case you asked you can try our:

http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/dbase/download/a_and_b.tar.gz


There are some more Routines like
a_not_b.pro a_or_b.pro a_xor_b.pro




Please have a look at
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml too.

regards

Reimar

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml
============================================================ =======
[Message index]
 
Read Message
Read Message
Previous Topic: Re: In Praise of HISTOGRAM
Next Topic: _EXTRA inheritance crashing IDL

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

Current Time: Fri Oct 10 01:50:40 PDT 2025

Total time taken to generate the page: 0.40162 seconds