[Numpy-discussion] How to detect ndarrays pointing to the same memory?

Gael Varoquaux gael.varoquaux at normalesup.org
Wed Jul 22 05:48:29 EDT 2009


On Fri, Jul 17, 2009 at 04:30:38PM +0200, Hans Meine wrote:
> Hi,

> I have a simple question: How can I detect whether two arrays share the same 
> data?

np.may_share_memory

G.



More information about the NumPy-Discussion mailing list