c++ - Does Boost/Python have a make_array method? -


I would like to return the results of my computations to the Python in ndarray object, I know that a make_tuple Method, so I think that might be something similar to the array, although I do not know.

Edit - I think I can create an array in Python, pass it as an extra parameter and modify it to keep values. Although it would be better to use the return value.

Try boost :: python :: numeric :: array : < Numeric is the former name of NumPy. It is possible that this cover still works with NumPy Boost :: Python seems notorious for being out of old documents.

Comments