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

Home » Public Forums » archive » Comparing two arrays or different lengths and looking for values within a given range
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: Comparing two arrays or different lengths and looking for values within a given range [message #81098 is a reply to message #81004] Mon, 06 August 2012 16:42 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Monday, August 6, 2012 4:33:01 PM UTC-4, HY wrote:
> Hi all,
>
>
>
> I'm new to this group, and Coyote suggested that I direct my inquiry here.
>
>
>
> I have two arrays of different lengths, and I need to look for values within a certain range of each other (in this case 400). One array has a number of duplicates while the other does not, which further complicates things, and I've been unable to come up with a solution on my own. Any assistance would be greatly appreciated.

This can be done by simply comparing each element of X with each element of Y. Are you sure that a simple FOR loop won't do?

Craig
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Copying a hash
Next Topic: Most significant digit and formatting floating point output

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

Current Time: Wed Oct 08 19:02:09 PDT 2025

Total time taken to generate the page: 0.00356 seconds