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

Home » Public Forums » archive » Quick array question
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
Quick array question [message #21687] Wed, 13 September 2000 00:00
Ricardo Fonseca is currently offline  Ricardo Fonseca
Messages: 13
Registered: February 2000
Junior Member
Hi All

How does IDL store arrays in memory, does it use c style ordering or fortran
style ordering?

Here's my problem, I wrote a fortran program that writes a binary file to
disk with an array (nx,ny,nz). Now when I read that file should I do

data = fltarr(nx,ny,nz)
readu, unit, data

or should I do

data = fltarr(nz,ny,nx)
readu, unit, data

and convert it later?

Thanks in advance, Ricardo
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: slicer to movie
Next Topic: taking the widget plunge. help

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

Current Time: Wed Oct 08 15:48:26 PDT 2025

Total time taken to generate the page: 0.00498 seconds