[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:

[snip]

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

[snip]

 > 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
http://www.eos.ubc.ca/research/clouds/num_util.html

Regards, Phil Austin





More information about the Cplusplus-sig mailing list