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

Home » Public Forums » archive » Re: Variable stride in array indices
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: Variable stride in array indices [message #15245 is a reply to message #15234] Fri, 07 May 1999 00:00 Go to previous messageGo to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
David Fanning wrote:
> Liam Gumley (Liam.Gumley@ssec.wisc.edu) writes:
>
>> Here's what we resolved:
>>
>> IDL> print,(a[x,*])[*,x]
>> 0 2 4 6 8
>> 20 22 24 26 28
>> 40 42 44 46 48
>> 60 62 64 66 68
>> 80 82 84 86 88
>
> Just for sake of argument, how can this be extended to
> a five-dimensional parabolic rhomboid?

a = lindgen(10,10,10,10,10)
x = lindgen(5)*2
help, ((((a[x,*,*,*,*])[*,x,*,*,*])[*,*,x,*,*])[*,*,*,x,*])[*,*,*, *,x]
<Expression> LONG = Array[5, 5, 5, 5, 5]

---
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Widget draw problems...
Next Topic: PV-WAVE FAQ suggestions

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

Current Time: Sun Nov 30 15:04:29 PST 2025

Total time taken to generate the page: 0.55745 seconds