[Numpy-discussion] Interface for numpy C-API <-> simple C++ matrix class

cavallo at kip.uni-heidelberg.de cavallo at kip.uni-heidelberg.de
Tue Feb 26 08:45:17 CST 2002


On Fri, 15 Feb 2002, Stefan Heinrichs wrote:

> Hello,
>
> we would like to write routines processing numerical python arrays in
> C++, so that at least boundary checking can be enabled at runtime.
> While there are a lot of matrix libraries available for C++, I could
> not find the glue that interfaces such a library to the C-API of
> numerical python. Seamless access to a minimal C++ library would make
> the C++ part of programming much easier.

That's clear i had the same problem long time ago,
and i written a small wrapper to the blitz library (www.oonumerics.org):
i hadn't time to iron out all the details so it isn't ready for general
release, but it works.
I'm courrently using some sort of template skeleton to write modules in
python for my phd (it is 4d digital image processing): if you like to help
me to develop it in a usable way this should be useful for other people as
well.

I think someone else has developed such a glue, under scipy (isn't?): just
look at that.

regards,
antonio

>
> Has anyone already written some wrapper/glue code?
>
> Thanks and best regards,
>
> Stefan
>
> --
>
>
> -------------------------------------------------------------------
> Email:    Stefan.Heinrichs at uni-konstanz.de
> Address:  Fakulaet fuer Physik, Universitaet Konstanz,
>           Universitaetsstr.10, 78457 Konstanz, Germany
> Phone:    +49 7531 88 3814
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>





More information about the Numpy-discussion mailing list