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

Home » Public Forums » archive » Re: Limiting concatenation IDL 5.5
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: Limiting concatenation IDL 5.5 [message #31269 is a reply to message #31234] Tue, 25 June 2002 10:06 Go to previous messageGo to previous message
Randall Skelton is currently offline  Randall Skelton
Messages: 169
Registered: October 2000
Senior Member
Ok... I have to ask. Is there actually a nice, clean way to concatenate
multidimensional arrays in IDL?

a = make_array(2,2,2,2)
b = make_array(2,2,2,5)

data1 = [ [[[a]]] , [[[b]]] ]

Obviously the above fails, but what is the solution? Surely some
combination of rebin/reform...


On Tue, 25 Jun 2002, Randall Skelton wrote:

> Date: Tue, 25 Jun 2002 16:49:26 +0100
> From: Randall Skelton <rhskelto@atm.ox.ac.uk>
> Newsgroups: comp.lang.idl-pvwave
> Subject: Limiting concatenation IDL 5.5
>
> Hi all,
>
> Having just re-read the dimensional juggling tutorials posted by JD, I
> noticed that in IDL 5.5 (Linux) the limit to the practical concatenation
> dimension was increased from 3 up to 8 ;) Being one of those people who
> occasionally use more than 3 dimensions, this makes my life a whole lot
> easier.
>
> Of course, don't try and go for 9...
>
> IDL> a = findgen(20)
> IDL> print, [[[[[[[[[a]]]]]]]]]
> Segmentation fault
>
> Does anyone else observe the same?
>
> Cheers,
> Randall
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Deleting from arrays
Next Topic: Matching Structure Tag Lengths

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

Current Time: Fri Oct 10 17:07:21 PDT 2025

Total time taken to generate the page: 0.72382 seconds