title: how to return numpy.array from boost::python?
body: <p>I would like to return some data from c++ code as a <code>numpy.array</code> object. I had a look at <code>boost::python::numeric</code>, but its documentation is very terse. Can I get an example of e.g. returning a (not very large) <code>vector&lt;double&gt;</code> to python? I don't mind doing copies of data.</p>