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 
Return to the default flat view Create a new topic Submit Reply
help with chunk indexing [message #54656] Fri, 29 June 2007 12:51 Go to previous 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
[Message index]
 
Read Message
Read Message
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: Fri Oct 10 08:27:46 PDT 2025

Total time taken to generate the page: 0.16038 seconds