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

Home » Public Forums » archive » Array manipulation
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: Array Manipulation [message #63543 is a reply to message #22320] Tue, 11 November 2008 19:11 Go to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
On Tue, 11 Nov 2008 18:45:07 -0800 (PST), duxiyu@gmail.com wrote:

> Hi, all.
> There are two array A[3, 3, m] and B[3, 3, n].
> I want to combine them into a new array C[3, 3, (m+n)].
> The first part of C (C[*, *, 0:(m-1)]) is equal to A and the second
> part of C (C[*, *, m:(m+n-1)]) is equal to B.
> Is there a simple method to get the new array C?

Yes, there is:
c=[[[a]],[[b]]]

Heinz
[Message index]
 
Read Message
Read Message
Previous Topic: map_image edge distortion
Next Topic: 2-d fitting

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

Current Time: Sat Oct 11 15:52:09 PDT 2025

Total time taken to generate the page: 0.96808 seconds