From: Stefan H. <Ste...@un...> - 2002-02-15 21:17:06
|
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. Has anyone already written some wrapper/glue code? Thanks and best regards, Stefan -- ------------------------------------------------------------------- Email: Ste...@un... Address: Fakulaet fuer Physik, Universitaet Konstanz, Universitaetsstr.10, 78457 Konstanz, Germany Phone: +49 7531 88 3814 |
From: <ca...@ki...> - 2002-02-26 16:44:35
|
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: Ste...@un... > Address: Fakulaet fuer Physik, Universitaet Konstanz, > Universitaetsstr.10, 78457 Konstanz, Germany > Phone: +49 7531 88 3814 > > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > |
From: eric <er...@en...> - 2002-02-26 19:48:00
|
Weave optionally uses blitz arrays to represent NumPy objects: www.scipy.org/site_content/weave Maybe something there will be of use. eric > > > 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: Ste...@un... > > Address: Fakulaet fuer Physik, Universitaet Konstanz, > > Universitaetsstr.10, 78457 Konstanz, Germany > > Phone: +49 7531 88 3814 > > > > _______________________________________________ > > Numpy-discussion mailing list > > Num...@li... > > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > > > > > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > |
From: Andrew P. L. <bs...@al...> - 2002-03-04 21:11:44
|
You might want to check out the Boost Python Library. It is peer reviewed and seems to get most things correct. It should make writing wrappers a lot easier. -a |
From: Andrew P. L. <bs...@al...> - 2002-03-04 21:16:44
|
Ummmm, it helps if I include the URL. Sorry. http://www.boost.org/libs/python/doc/ -a On Mon, 4 Mar 2002, Andrew P. Lentvorski wrote: > You might want to check out the Boost Python Library. It is peer reviewed > and seems to get most things correct. > > It should make writing wrappers a lot easier. > > -a > > > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > |