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

Home » Public Forums » archive » use of temporary in IDL
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
use of temporary in IDL [message #81954] Tue, 06 November 2012 08:05
rohit bhat is currently offline  rohit bhat
Messages: 4
Registered: August 2011
Junior Member
Hi,

I had a question regarding the use of temporary in IDL.
I wanted to re-order a 3D array.
Suppose the array is vol = IntArr( 512, 512, 287 )

I sorted the Z dimension and got the indices. The command I then used was
vol = temporary( vol[ *, *, sorted_z] )

Despite this, the memory used is still the same if I don’t use temporary (almost 5 times the size of the array)

Is this the correct way to use temporary? If I am using it correctly, is it just the IDL way of reading columns and rows?

Thanks,
Rohit
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: negative indices, am I missing something here?
Next Topic: attractive base map for animation

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

Current Time: Wed Oct 08 13:36:40 PDT 2025

Total time taken to generate the page: 0.00457 seconds