[Numpy-discussion] Getting an array interface and using it

Matthieu Brucher matthieu.brucher at gmail.com
Mon Nov 12 11:54:59 EST 2007


Hi,

I have an object that exposes an array interface. I want to modify the data
it contains, but using numpy.array(myObject) seems to copy the data and thus
my object is not modified. Am I mistaken or did I make a mistake in my array
interface ?

Matthieu
-- 
French PhD student
Website : http://miles.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20071112/41f66f0b/attachment.html>


More information about the NumPy-Discussion mailing list