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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Array comparisons [message #45538] Mon, 12 September 2005 10:02
pravesh.subramanian is currently offline  pravesh.subramanian
Messages: 21
Registered: August 2005
Junior Member
That was a quick one..

Thanks a lot!

Pravesh
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Array comparisons
Next Topic: Outputting data to Files

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

Current Time: Fri Oct 10 06:50:41 PDT 2025

Total time taken to generate the page: 6.95663 seconds