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

Home » Public Forums » archive » replicating arrays
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
replicating arrays [message #53050] Fri, 16 March 2007 16:30 Go to previous message
Christopher Thom is currently offline  Christopher Thom
Messages: 66
Registered: October 2006
Member
Hi,

My brain has stopped working on friday afternoon, so a quick question. I
have an array, and I want to make a multi-dimensional array, which is
simply copies of the old array, a la

newarray = replicate(array, 5)

where I would expect the result to be array[n_elements(array), 5].

Is this possible in a simple way? replicate only accepts scalars...

cheers
chris
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Lots of files
Next Topic: Lots of files

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

Current Time: Fri Oct 10 04:35:54 PDT 2025

Total time taken to generate the page: 0.48043 seconds