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

Home » Public Forums » archive » Can I do this without using loops?
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: Can I do this without using loops? [message #6408 is a reply to message #6323] Fri, 14 June 1996 00:00 Go to previous messageGo to previous message
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
In article <31C17DE4.50C@zibmt.uni-ulm.de>, David Ritscher <david.ritscher@zibmt.uni-ulm.de> writes:

[nice review deleted]

|> PRO TEST8, rows, columns
|> strt = systime(1)
|> ;
|> array = rebin(findgen(1, columns), rows, columns)
|> ;
|> print, 'elapsed time: ',systime(1) - strt
|> return
|> ;
|> END
|>

[..snip..]

|>
|> PRO TEST8_rows, rows, columns
|> strt = systime(1)
|> ;
|> array = rebin(findgen(rows), rows, columns)
|> ;
|> print, 'elapsed time: ',systime(1) - strt
|> return
|> ;
|> END
|>

Have you tried these with the /SAMPLE keyword to REBIN as well?
And also: rebin(findgen(rows,1),rows,columns,/sample) for
TEST8_rows?

I should of course try out every piece of this on the local
machines, but that'll wait till later.

Stein Vidar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Searching for Constraint Optimization IDL Routine
Next Topic: Re: polar surfaces

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

Current Time: Sat Oct 11 12:44:53 PDT 2025

Total time taken to generate the page: 0.56167 seconds