[MATRIX-SIG] C++/Blitz++ comments

Johann Hibschman johann@physics.berkeley.edu
Wed, 29 Oct 1997 13:33:38 -0800 (PST)


On Wed, 29 Oct 1997, Janko Hauser wrote:

> PS: Hasn't Phil Austin mentioned some efforts to connect Python with
> Blitz++, a expression-template rich C++ library?

That would be interesting, but I'm not quite sure how such a linkage could
work, since templates are a compile-time phenomenon.  Does anyone know
anything more about this?

In any case, both of my major NumPy/C++ projects have been through SWIG. 
I've just started using the TNT C++ library (from NIST).  With the right
SWIG typemaps, passing NumPy arrays to and from the TNT Vectors is
completely seamless, only requiring a copy or two.

- Johann

---
Johann A. Hibschman         | Grad student in Physics, working in Astronomy.
johann@physics.berkeley.edu | Probing pulsar pair production processes.


_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________