[Numpy-discussion] what is the best way to pass c, c++ array to numpy in cython?

Gael Varoquaux gael.varoquaux at normalesup.org
Thu Jan 5 04:08:44 EST 2012


On Thu, Jan 05, 2012 at 04:04:52PM +0900, 최원준 wrote:
>    can I pass the array without malloc?

An array is a pointer in C, so yes you can do what you want.

G



More information about the NumPy-Discussion mailing list