[C++-sig] Creating an array in C++

Philip Austin paustin at eos.ubc.ca
Mon Feb 23 22:10:59 CET 2004

CÔTÉ Marc-Alexis writes:


 > My first problem is in creating the numeric::array in the c++ code.


 > Would you even use an array to return the data, or is there a
 > better way?

Note that numeric::array is still in alpha -- it's lacking the two
Numeric functions (ones and zeros) that allocate arrays on the Python
side.  One alternative is to use the helper functions at

Regards, Phil Austin

More information about the Cplusplus-sig mailing list