[Numpy-discussion] Getting a numpy array from a ctype pointer

Paulo J. S. Silva pjssilva@ime.usp...
Thu Sep 4 20:09:25 CDT 2008


> x = np.frombuffer(int_asbuffer(C.addressof(x.contents), n*8))

I'll go with your faster solution. Very good. Thank you very much.

Paulo



More information about the Numpy-discussion mailing list