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

Home » Public Forums » archive » Re: sorting array column/rowwise
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: sorting array column/rowwise [message #31323 is a reply to message #31322] Thu, 04 July 2002 02:26 Go to previous messageGo to previous message
Jaco van Gorkom is currently offline  Jaco van Gorkom
Messages: 97
Registered: November 2000
Member
"Marc Schellens" <m_schellens@hotmail.com> wrote in message news:3D23FB20.5020804@hotmail.com...
...
> but I wanted to sort each column individually.
> Any guesses?

for sorting rows:
If the range of values in each row is limited, then it
might be possible to add an offset to each row that makes
the value ranges of the rows non-overlapping and incrementing.
Then a single call to SORT will provide the correct sorted
indices for the entire array.
for sorting columns:
First do a TRANSPOSE, then sort the rows?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: gamma correction
Next Topic: write_jpeg and TVRD()

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

Current Time: Wed Oct 08 19:16:58 PDT 2025

Total time taken to generate the page: 0.00393 seconds