Hi,
I think I figured out by using
numeric::array::set_module_and_type( "numpy", "ndarray");
thanks!
yong
On Fri, Jun 18, 2010 at 8:17 PM, Yongning Zhu wrote:
> Hi,
>
> I am new to boost python, thanks for the list, and hopefully, I will
> find some one to
Hi,
I am new to boost python, thanks for the list, and hopefully, I will
find some one to help me.
I am adding the boost python example:
#include
#include
// sets the first element in a 2d numeric array
void set_first_element(::boost::python::numeric::array& y, float value)
{
y[::boost::pyt