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

Home » Public Forums » archive » Re: concatenating arrays, stored by a pointer array
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: concatenating arrays, stored by a pointer array [message #69503] Mon, 18 January 2010 09:44
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
simona bellavista writes:

> I have a generic number of arrays (N) that have been stored in a
> pointer array(p):
>
> *p[0] -> [array0]
> *p[1] -> [array1]
> ...
> *p[i] -> [arrayi]
> ...
> *p[N-1] -> [arrayN-1]
>
> each array has a different size, that's why I have used pointers. I
> would like to concatenate these arrays without using for-cycles.
> Naively I would say
>
> big_array=[*p[*]]
>
> but it doesn't work.
>
> Any hint?

I'm going to go WAY out on a limb and say this can't be
done in any reasonable way without FOR loops. If nothing
else, that will get the juices flowing. ;-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Previous Topic: concatenating arrays, stored by a pointer array
Next Topic: Map projections

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

Current Time: Fri Oct 10 06:59:20 PDT 2025

Total time taken to generate the page: 0.48608 seconds