On Thu, Jun 9, 2011 at 3:39 AM, Yoshi Rokuko wrote:
> + Mark Wiebe ---+
> >
> > I believe what you may want is PyArray_ContiguousFromAny instead of
> > PyArray_ContiguousFromObject.
> >
>
> are you sure that there is a difference? i think its ju
+ Mark Wiebe ---+
>
> I believe what you may want is PyArray_ContiguousFromAny instead of
> PyArray_ContiguousFromObject.
>
are you sure that there is a difference? i think its just the new
name for the same thing right?
best regards, yoshi
__
Mark Wiebe wrote:
> I believe what you may want is PyArray_ContiguousFromAny instead of
> PyArray_ContiguousFromObject.
I would also strongly encourage you to take a look at Cython:
http://cython.org/
It has built-in support for numpy arrays, so it can take care of a lot
of this bookkeeping fo
I believe what you may want is PyArray_ContiguousFromAny instead of
PyArray_ContiguousFromObject.
Cheers,
Mark
On Wed, Jun 8, 2011 at 2:58 AM, Yoshi Rokuko wrote:
> hey,
>
> i'm writing my first python module in c using numpy/arrayobject.h
> and i have some problems with different platforms (bo
hey,
i'm writing my first python module in c using numpy/arrayobject.h
and i have some problems with different platforms (both linux but
really different setup) so i suspect my array handling is not cor-
rect.
i'm used to c arrays and want to access large numpy arrays from
within my c module with