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

Home » Public Forums » archive » Padding arrays - vector subscripts not working
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: Padding arrays - vector subscripts not working [message #71650 is a reply to message #71586] Tue, 06 July 2010 12:15 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jul 6, 3:38 pm, James <donje...@gmail.com> wrote:
>   out[start] = array

Sorry, that was meant to be

out[start]=array[*]

However, this lead to me noticing that the part of out you want to set
is not contiguous. So start will have to be an array containing the
proper indexes of out that correspond to the locations to be changed,
instead of just the starting index. Which is a bit tricky for an
arbitrary number of dimensions.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Subtracting a single variable from an array
Next Topic: Opinions: passing paths, variables, etc. to compiled IDL routine

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

Current Time: Wed Oct 08 17:19:04 PDT 2025

Total time taken to generate the page: 0.00454 seconds