[Numpy-discussion] SWIG, typemaps, 2D argout arrays
Tue Oct 14 12:51:43 CDT 2008
On Tue, Oct 14, 2008 at 1:02 AM, Sebastian Haase <email@example.com> wrote:
> b) I don't want to use Python / numpy API code in the C functions I'm
> wrapping - so I limit myself to "input" arrays! Since array memory
> does not distinguish between input or output (assuming there is no
> copying needed because of alignment or contiguity issues) the only
> implication of this is that I have to allocate the array outside the C
To clarify, are you saying that you don't make any use of numpy.i?
The functions I'm writing are not making any explicit use of the
Python/numpy API, but I'm sure it shows up in the *_wrap.c file that
> input<->conversion transparently for my --- do you need to handle
> non-contiguous arrays ?
> HTH, I'm eager to learn here ;-)
More information about the Numpy-discussion