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

Home » Public Forums » archive » a=a(*,*,[4,1,2,3,0]) efficiency
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
a=a(*,*,[4,1,2,3,0]) efficiency [message #12314] Tue, 14 July 1998 00:00 Go to previous message
Ray is currently offline  Ray
Messages: 8
Registered: July 1998
Junior Member
I am wondering about the efficiency of the following

; read data from file into a which is an integer array 128x128x5
; open, ..., read a, ... close,...

; reorder data
a=a(*,*,[4,1,2,3,0])

Does IDL make a temporary copy of a when size of the left
hand side (a) is the same as the right hand side a(*,*,[4,1,2,3,0]) ?
If so, is there a better way to reorder my data? In my application
the last dimension of a is typically much greater than 5 (e.g. 300).

Ray Muzic
rfm2@po.cwru.edu
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: writing a structure with pointers
Next Topic: Re: Restrucuting array problem

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

Current Time: Fri Oct 10 08:23:45 PDT 2025

Total time taken to generate the page: 0.07884 seconds