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

Home » Public Forums » archive » Re: Q:assigning arrays in steps
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: Q:assigning arrays in steps [message #4176 is a reply to message #4173] Mon, 08 May 1995 00:00 Go to previous message
peter is currently offline  peter
Messages: 80
Registered: February 1994
Member
Brett Hennig (bretth@lovelace.maths.monash.edu.au) wrote:
: I've been using idl for one whole week now,
: so excuse me if this question is stupid.
: In Fortran90 you can assign arrays like:
: x(0:10)=y(0:40:4)
: where the last 4 is a step increment.

: Can this sort of stuff be done with idl?

x(0:10) = y(4*indgen(11))

More generally, arrays can be addressed using another array, which will
extract specified elements. Very powerful!

Peter
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Zeiger in IDL
Next Topic: Font ADVICE needed please

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

Current Time: Wed Mar 25 06:41:50 PDT 2026

Total time taken to generate the page: 2.71735 seconds