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

Home » Public Forums » archive » Re: 2d where
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: 2d where [message #39030 is a reply to message #39024] Tue, 13 April 2004 10:50 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Graham wrote:

> I have read through the IDL documentation and while it does explain
> why the following doesn't work, it doesn't offer any alternatives :(
>
> I am trying to find the indexes where the elements of 'bar' are equal
> to 'foo'.
>
> IDL> foo = ["a", "b", "c", "d", "e", "f"]
> IDL> bar = ["b", "e"]
> IDL> print, where(foo eq bar)
> -1
> PERFECTDL> print, where(foo eq bar)
> 1 4
>
> Any ideas?
>
> Graham

Dear Graham

I believe this is duplicated to a thread on the archive
http://groups.google.de/groups?hl=de&lr=&ie=ISO-8859 -1&q=Vector+compariso
+group%3Acomp.lang.idl-pvwave&btnG=Suche&meta=group% 3Dcomp.lang.idl-pvwave

There were 22 entries about this question.


Cheers

Reimar

--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
[Message index]
 
Read Message
Read Message
Previous Topic: Re: dimension problem in matrix multiplication
Next Topic: How to rebin complex array?

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

Current Time: Sun Oct 12 13:07:36 PDT 2025

Total time taken to generate the page: 1.51940 seconds