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

Home » Public Forums » archive » Re: Array comparisons
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 comparisons [message #45539 is a reply to message #45538] Mon, 12 September 2005 09:53 Go to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
<pravesh.subramanian@gmail.com> wrote in message
news:1126543667.921408.320170@z14g2000cwz.googlegroups.com.. .
> hello,
> This is similar to the problem posted a few days back.
>
> I have two arrays A and B where B is smaller than A.
> All elements of B are present in A . I want to now have the Array A
> without (elementts present in B). i.e A - (A intersection B)
>
> Is there a quick way to do it than using for loops
>
> Thanks,
> Pravesh
>

Hi Pravesh,
see the routines listed at
http://www.dfanning.com/tips/set_operations.html


(specifically, check out Difference (i.e. return members of A that are not
in B.)


Cheers,
bob
[Message index]
 
Read Message
Read Message
Previous Topic: Array comparisons
Next Topic: Outputting data to Files

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

Current Time: Tue Dec 02 14:44:54 PST 2025

Total time taken to generate the page: 0.88621 seconds