[Numpy-discussion] [OFFTOPIC] creating/working NumPy-ndarrays in C++

Chris Barker chris.barker at noaa.gov
Mon Apr 9 14:27:55 EDT 2012


2012/4/9 Hänel Nikolaus Valentin <valentin.haenel at 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 -- I"d 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/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov



More information about the NumPy-Discussion mailing list