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

Home » Public Forums » archive » Re: 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
Re: replicating arrays [message #53043] Sat, 17 March 2007 08:02 Go to previous message
Mort Canty is currently offline  Mort Canty
Messages: 134
Registered: March 2003
Senior Member
Jean H. schrieb:

>
> IDL> a = [1,2,3]
> IDL> print, transpose(reform(rebin(a, 12),4,3))
> 1 2 3
> 1 2 3
> 1 2 3
> 1 2 3
>
> jean


But be sure to use /SAMPLE with REBIN if it's a float array that you're
replicating.

Cheers

Mort Canty
[Message index]
 
Read Message
Read Message
Previous Topic: Re: change colors of IDL shell on OS X?
Next Topic: mosaic_doit : the ghost

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

Current Time: Wed Oct 08 20:01:29 PDT 2025

Total time taken to generate the page: 0.00458 seconds