As Gaël pointed out you cannot create A, B and then C
as the concatenation of A and B without duplicating
the vectors.

> I am looking for a way to have a non contiguous array C in which the 
> "left" (10000, 2000) elements point to A and the "right" (10000, 4000) 
> elements point to B. 

But you can still re-link A to the left elements
and B to the right ones afterwards by using views into C.

>>> C=numpy.concatenate((A, B), axis=1)
>>> A,B = C[:,:2000], C[:,2000:]

Best,
Luca
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to