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

Home » Public Forums » archive » 2D array replicated into 3D array plane by plane
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
2D array replicated into 3D array plane by plane [message #56009] Wed, 26 September 2007 07:30
M. Katz is currently offline  M. Katz
Messages: 69
Registered: May 2005
Member
I'm wondering if there's a quick way to replicate a 2D array
into a 3D array with every xy plane being the same.

> From 1D to 2D I use something like this, the outer product.

xx = x # (1 + fltarr(N))

This makes every row equal to x in a jiffy.
> From 2D to 3D however, the methodology is not as clear.

Thanks,
M. Katz
[Message index]
 
Read Message
Previous Topic: Re: Uneven Set of x y coordinates
Next Topic: JPEG image dimensions

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

Current Time: Sat Oct 11 05:44:43 PDT 2025

Total time taken to generate the page: 0.39579 seconds