Re: [Numpy-discussion] [OFFTOPIC] creating/working NumPy-ndarrays in C++
* Chris Barker chris.bar...@noaa.gov [2012-04-09]: 2012/4/9 Hänel Nikolaus Valentin valentin.hae...@epfl.ch: http://www.eos.ubc.ca/research/clouds/software/pythonlibs/num_util/num_util_release2/Readme.html that looks like it hasn't been updated since 2006 -- Id say that makes it a non-starter Yeah, thats what I thought... Until I found it in several production codes... are they maintaining it? Well, no... thats «legacy code» that was handed down to me, more or less. 4? http://www.boost.org/doc/libs/1_49_0/libs/python/doc/v2/numeric.html (old) https://github.com/ndarray/Boost.NumPy (new) http://code.google.com/p/numpy-boost/ (also pretty old -- I see this:) - Numpy (numpy.scipy.org) (Tested versions: 1.1.1, though = 1.0 should work) - Python (www.python.org) (Tested versions: 2.5.2, though = 2.3 should work) both pretty old versions. http://www.eos.ubc.ca/research/clouds/software/pythonlibs/num_util/num_util_release2/Readme.html also pretty old. So I'd go with the actively maintained on -- or Cython -- what I can tell you is that Cython is being very widely used in the numerical/scientific computing community -- but I haven't seen a lot of Boost users. Maybe they use different mailing lists, and dont go to SciPy or Pycon... Yeah, I would choose cython... if I had a choice... I have had boost.python mentioned a single time throughout the last four editions of EuroScipy2012 I'm not sure you made your use case clear -- are you writing C++ specifically for calling form Python? or are you working on a C++ lib that will be used in C++ apps as well as Python apps? Currently just curious about the different tools available to fascilitate interoperability between numpy and boost.python. V- ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] [OFFTOPIC] creating/working NumPy-ndarrays in C++
2012/4/8 Hänel Nikolaus Valentin valentin.hae...@epfl.ch : http://www.eos.ubc.ca/research/clouds/software/pythonlibs/num_util/num_util_release2/Readme.html that looks like it hasn't been updated since 2006 -- Id say that makes it a non-starter The new numpy-boost project looks promising, though. which was also mentioned on this list, I now know of four alternatives for boost+NumPy (including the built-in support). 4? Given the pace of change in numpy, it looks to me like the new numpy-boost is the only viable (Boost) option, other than rolling your own. For the record, Cython (with or without another lib like Blitz++) doesn't preclude strong OOP design patterns. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] [OFFTOPIC] creating/working NumPy-ndarrays in C++
Hi Chris, thanks for your answer. * Chris Barker chris.bar...@noaa.gov [2012-04-09]: 2012/4/8 Hänel Nikolaus Valentin valentin.hae...@epfl.ch : http://www.eos.ubc.ca/research/clouds/software/pythonlibs/num_util/num_util_release2/Readme.html that looks like it hasn't been updated since 2006 -- Id say that makes it a non-starter Yeah, thats what I thought... Until I found it in several production codes... The new numpy-boost project looks promising, though. which was also mentioned on this list, I now know of four alternatives for boost+NumPy (including the built-in support). 4? http://www.boost.org/doc/libs/1_49_0/libs/python/doc/v2/numeric.html (old) https://github.com/ndarray/Boost.NumPy (new) http://code.google.com/p/numpy-boost/ http://www.eos.ubc.ca/research/clouds/software/pythonlibs/num_util/num_util_release2/Readme.html Or am I missing something? V- ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] [OFFTOPIC] creating/working NumPy-ndarrays in C++
2012/4/9 Hänel Nikolaus Valentin valentin.hae...@epfl.ch: http://www.eos.ubc.ca/research/clouds/software/pythonlibs/num_util/num_util_release2/Readme.html that looks like it hasn't been updated since 2006 -- Id say that makes it a non-starter Yeah, thats what I thought... Until I found it in several production codes... are they maintaining it? 4? http://www.boost.org/doc/libs/1_49_0/libs/python/doc/v2/numeric.html (old) https://github.com/ndarray/Boost.NumPy (new) http://code.google.com/p/numpy-boost/ (also pretty old -- I see this:) - Numpy (numpy.scipy.org) (Tested versions: 1.1.1, though = 1.0 should work) - Python (www.python.org) (Tested versions: 2.5.2, though = 2.3 should work) both pretty old versions. http://www.eos.ubc.ca/research/clouds/software/pythonlibs/num_util/num_util_release2/Readme.html also pretty old. So I'd go with the actively maintained on -- or Cython -- what I can tell you is that Cython is being very widely used in the numerical/scientific computing community -- but I haven't seen a lot of Boost users. Maybe they use different mailing lists, and dont go to SciPy or Pycon... I'm not sure you made your use case clear -- are you writing C++ specifically for calling form Python? or are you working on a C++ lib that will be used in C++ apps as well as Python apps? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] [OFFTOPIC] creating/working NumPy-ndarrays in C++
* Michael Droettboom md...@stsci.edu [2012-04-03]: On 04/03/2012 12:48 PM, Chris Barker wrote: It would be nice to have a clean C++ wrapper around ndarrays, but that doesn't exist yet (is there a good reason for that?) Check out: http://code.google.com/p/numpy-boost/ Just out of curiosity, any idea how this compares to: http://www.eos.ubc.ca/research/clouds/software/pythonlibs/num_util/num_util_release2/Readme.html ? It's just that with: http://code.google.com/p/numpy-boost/ which was also mentioned on this list, I now know of four alternatives for boost+NumPy (including the built-in support). Would anyone like to share perhaps a sentence or two about their experience in using either? (comparisons, of course, are highly appreciated :D ) Thanks! V- ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion