[Numpy-discussion] How to concatenate two arrayswithout duplicating memory?

Sebastian Haase seb.haase@gmail....
Wed Sep 2 11:48:05 CDT 2009


I forgot to mention I also support transpose.
-S.


On Wed, Sep 2, 2009 at 5:23 PM, Sturla Molden<sturla@molden.no> wrote:
> Sebastian Haase skrev:
>> A mockarray is initialized with a list of nd-arrays. The result is a
>> mock array having one additional dimention "in front".
> This is important, because often in the case of  'concatenation' a real
> concatenation is not needed. But then there is a common tool called
> Matlab, which unlike Python has no concept of lists and make numerical
> programmers think they do. C = [A, B] is a horizontal concatenation in
> Matlab. Too much exposure to Matlab cripples the mind easily.
>
> Sturla
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the NumPy-Discussion mailing list