[Numpy-discussion] Anyone have a well-tested SWIG-based C++ STL valarray <=> numpy.array typemap to share?

Bryan Van de Ven bryanv@enthought....
Wed Sep 5 14:35:05 CDT 2007


Christopher Barker wrote:

> Does anyone know the status of support for valarrays now?

I used std::valarray to implement a variant of the example Matrix class in 
Stroustrup's book (2D only) about two years ago. I was aware that is in disuse, 
by and large, but it worked well enough for my purposes and I was happy with it. 
  I'm sure it could have been done differently/better.

Bryan



More information about the Numpy-discussion mailing list