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

Home » Public Forums » archive » Re: compare 2-d array with vector
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: compare 2-d array with vector [message #81546 is a reply to message #81545] Mon, 24 September 2012 08:19 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Monday, September 24, 2012 7:52:55 AM UTC-4, Heinz Stege wrote:
> On Mon, 24 Sep 2012 13:39:44 +0200, Heinz Stege wrote:
>
>
>
>> the use of the value_locate function is very helpful:
>
>>
>
>> subscripts=where(a eq b[value_locate(b,a)>0])
>
>>
>
>> Note that b must be sorted and must have 2 or more elements.
>
>
>
> AFAIK some IDL Developers are reading this newsgroup. Here is a
>
> request for an enhancement of the value_locate function:
>
>
>
> Please let value_locate return result=-long(a lt b[0]) instead of
>
> throwing an error message, if b has 1 element only.

Yeah, I filed a support request on this several years ago, but no action so far.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: copying pointers in structures
Next Topic: interpolation of two different model

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

Current Time: Wed Oct 08 19:33:55 PDT 2025

Total time taken to generate the page: 0.00365 seconds