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

Home » Public Forums » archive » chunk indexing like
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
chunk indexing like [message #69440] Fri, 08 January 2010 05:08
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
Hi IDLers,

I know how to get
from [2,3,1,0,5] to [0,0,1,1,1,2,4,4,4,4,4] (i.e. chunk indexing)
but how do I get
from [2,3,1,0,5] to [0,1,0,1,2,0,0,1,2,3,4]
without loops that is.

I have been juggling with histogram and total(.../cumulative) but I
can figure this one out.

Any ideas?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Save File Mystery
Next Topic: Re: IDL Save File Mystery

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

Current Time: Fri Oct 10 15:06:31 PDT 2025

Total time taken to generate the page: 0.55743 seconds