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

Home » Public Forums » archive » Re: Easy question?
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: Easy question? [message #16320 is a reply to message #16318] Wed, 14 July 1999 00:00 Go to previous messageGo to previous message
colinr is currently offline  colinr
Messages: 30
Registered: July 1999
Member
On Wed, 14 Jul 1999 07:26:09 -0500,
Kenneth P. Bowman <bowman@null.tamu.edu> wrote:
> In article <7mhjl5$bme$1@readme.uio.no>, colin.rosenthal@astro.uio.no wrote:
>
>> If I have an i*j*k array and vector of length k and I want to
>> put the vector in every column of the array how do I do it?
>
> FOR k = 0L, nk-1L DO a[*,*,k] = v[k]

Exactly, but I was hoping for a "fast" way of doing it without a loop -
some sort of clever array declaration with ni and nj which would load
the vector up automatically into an array of the appropriate size.

--
Colin Rosenthal
Astrophysics Institute
University of Oslo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL_MakeStruct()
Next Topic: Julian Date Question

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

Current Time: Wed Oct 08 19:16:22 PDT 2025

Total time taken to generate the page: 0.00464 seconds