[Numpy-discussion] Array struct

Sean Ross-Ross srossross@gmail....
Sun Oct 28 13:27:01 CDT 2007

Hi, I am looking to create an __array_struct__ member for a c++  
vector<vector<cppObj>> 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 array.

Is it possible to do this with an __array_struct__ within c++ for the  
whole object at once? Perhaps creating a float **.

Thanks for your help

More information about the Numpy-discussion mailing list