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

Home » Public Forums » archive » Re: Efficiently perform histogram reverse indices like procedure on a string array?
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: Efficiently perform histogram reverse indices like procedure on a string array? [message #80989 is a reply to message #80983] Thu, 26 July 2012 10:41 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
>> Use VALUE_LOCATE to find where in the list of unique indices the
>> elements belong to, and use that index as a number that you can run
>> HISTOGRAM on.
>>
>> (raise your hand everyone who saw that coming...)
>>
>> -Jeremy.
>
> Not me. I had no idea VALUE_LOCATE works on strings. Now that is cool!

Yup, it works on anything that can be sorted.

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is this a legitimate way of projection and subset?
Next Topic: cgcontour not outputting?

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

Current Time: Thu Oct 09 14:12:51 PDT 2025

Total time taken to generate the page: 1.43838 seconds