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

Home » Public Forums » archive » simple question
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: simple question [message #42375 is a reply to message #20164] Thu, 27 January 2005 11:57 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Francois L. writes:

> What would be a fast code for generating arrays such as:
>
> 0 0 0 0 0 0 1 2 3 4 5
> 1 1 1 1 1 0 1 2 3 4 5
> 2 2 2 2 2 0 1 2 3 4 5
> 3 3 3 3 3 and 0 1 2 3 4 5

I think you better have a look at the Dimensional Juggling Tutorial:

http://www.dfanning.com/tips/rebin_magic.html

You will be surprised and amazed by what you find there.
Most people who read it can speed their IDL code up by a
factor of a 100 at least!

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Using .sav files outside of IDL
Next Topic: IDL FFTW3 DLL source

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

Current Time: Fri Oct 10 17:57:35 PDT 2025

Total time taken to generate the page: 0.48603 seconds