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

Home » Public Forums » archive » list concatenation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
list concatenation [message #92775] Fri, 26 February 2016 07:00 Go to previous message
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
I've accumulated a list of variable length arrays, e.g.

IDL> diam
[
[0.13860799, 0.035755500, 0.037822500],
[0.17081800],
[0.28975499, 0.050387200, 0.053300999],
[2.6970799, 1.3410200, 0.60130101],
[0.64086902, 0.61904001, 0.66626000, 0.27435899],
[0.86649197, 0.71003902],
[0.83967102, 0.47101700],
[0.18503401],

...


Is there a nice way to flatten this into a 1D array?

cheers,
Greg
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: AWK inside idl
Next Topic: Running a code multiple times automatically

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

Current Time: Wed Oct 08 11:48:21 PDT 2025

Total time taken to generate the page: 0.00255 seconds