[SciPy-dev] Using C++ in non optional code ?
Nathan Bell
wnbell@gmail....
Mon Aug 13 07:33:12 CDT 2007
On 8/13/07, David Cournapeau <david@ar.media.kyoto-u.ac.jp> wrote:
> I wanted to now if the possibility to use C++ code in scipy was
> discussed before ? The only C++ code lying around are for optional
> packages. Several people have expressed the wish to use C++, and I would
> like to know if there is any official policy regarding its usage.
FWIW scipy.sparse.sparsetools uses C++:
http://projects.scipy.org/scipy/scipy/browser/trunk/Lib/sparse/sparsetools
In order to template the numpy complex types, I subclassed them and
wrote the necessary operators:
http://projects.scipy.org/scipy/scipy/browser/trunk/Lib/sparse/sparsetools/complex_ops.h
--
Nathan Bell wnbell@gmail.com
More information about the Scipy-dev
mailing list