[SciPy-user] weave and numpy
haase at msg.ucsf.edu
Mon Aug 7 19:50:49 CDT 2006
if I pass a numpy array 'arr' as argument
a) how does the C code get arr.ndim ?
b) how does the C code get arr.shape,... ?
c) if the C code changes elements of arr, are those changes *on the original
data* ? In other words, is weave.inline making a copy of arr ?
I searched through
but did not find a definite answer. From
the 'array3d.py' example in weave in looks like Narr would contain the
More information about the SciPy-user