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

Home » Public Forums » archive » help with chunk indexing
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
help with chunk indexing [message #54656] Fri, 29 June 2007 12:51 Go to next message
Matt B. is currently offline  Matt B.
Messages: 3
Registered: June 2007
Junior Member
Hey everyone,

So I know how to do this.
n = [1,2,1,4] ==> inds = [0,1,1,2,3,3 ,3 ,3]

But what is a fast way to do this
n = [1,2,1,4] ==> inds = [0,0,1,0,0,1 ,2 ,3]

One could use a loop and what not, but there must be a better way...

Matt
Re: help with chunk indexing [message #54761 is a reply to message #54656] Wed, 04 July 2007 04:03 Go to previous message
Matt B. is currently offline  Matt B.
Messages: 3
Registered: June 2007
Junior Member
Sorry, I have been away or I would have answered your question. The
link to the Fanning website is the best way I have seen to do chunk
indexing. Maybe a DLM written in C would be jut as fast though.
Thanks for the help!

Matt
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Resize data by pixel size
Next Topic: Re: Is there an IDL version 6.4 for Fedora 7 i386

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

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

Total time taken to generate the page: 0.00568 seconds