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

Home » Public Forums » archive » Rank order extraction
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
Rank order extraction [message #39207] Mon, 26 April 2004 14:51
Jonathan Greenberg is currently offline  Jonathan Greenberg
Messages: 91
Registered: November 2002
Member
So I have an array of values:

30,10,20,30

With an associated set of "classes" (1 through 4):

1,2,3,4

I want to generate an output which gives me the CLASSES in rank order,
keeping in mind that I don't care what happens with ties. So, for this
example:

2,3,1,4 or 2,3,4,1 are ok.

How do I do this in IDL?

--j
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: WHERE Command Bug with Floating underflow
Next Topic: Contour Problem

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

Current Time: Fri Oct 10 13:46:00 PDT 2025

Total time taken to generate the page: 0.16214 seconds