Re: [Numpy-discussion] Array struct

2007-10-28 Thread Matthieu Brucher
Hi, I think you will have to use non-contiguous arrays, it should be possible. But I can't help you as I never use them. Matthieu 2007/10/28, Sean Ross-Ross <[EMAIL PROTECTED]>: > > Hi, I am looking to create an __array_struct__ member for a c++ > vector> i have wrapped in python, where cppObj

[Numpy-discussion] Array struct

2007-10-28 Thread Sean Ross-Ross
Hi, I am looking to create an __array_struct__ member for a c++ vector> i have wrapped in python, where cppObj contains an array of floats. Currently I have created an __array_struct__ for the cppObj and in python I iterate over the vector of vectors and put all of the data into a 1-d arr