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

Bryan Van de Ven bryanv at enthought.com
Wed Sep 5 15:35:05 EDT 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