Glen Mabey <gma...@swri.org> wrote: > I'd really like for this to be included alongside numpy.i -- but maybe I > overestimate the number of numpy users who use complex data (let your > voice be heard!) and who also end up using std::complex in C++ land.
I don't think you do. But perhaps you overestimate the number of NumPy users who use Swig? Cython seems to be the preferred wrapping tool today, and it understands complex numbers: cdef double complex J = 0.0 + 1j If you tell Cython to emit C++, this will result in code that uses std::complex<double>. Sturla _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion