[Numpy-discussion] C or C++ package like NumPy?

Sebastien Binet hep.sebastien.binet@gmail....
Fri Nov 2 17:53:30 CDT 2007


Hi,

> Does anyone know of a C or C++ library that's similar to NumPy?
> Seems like all the big C++ efforts are focused on linear algebra
> rather than general purpose multidimensional arrays.
>
> I've written a multidimensional array class in the D programming
> language with an API modeled loosely after NumPy's.  It works ok but
> there are a lot of differences between a statically typed language
> like C++ or D and a dynamic one like Python.  So I was looking around
> for API inspiration from other C/C++ libraries.  But the projects I
> know about are all focused on linear algebra (like ublas and MTL) and
> don't support general N-dimensional arrays.

Maybe Boost.MultiArray could also be considered.
http://www.boost.org/libs/multi_array/doc/user.html

Cheers,
Sebastien.
-- 
###################################
# Dr. Sebastien Binet             #
# Lawrence Berkeley National Lab. #
# 1 Cyclotron Road                #
# Berkeley, CA 94720              #
###################################
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20071102/c02eb282/attachment.bin 


More information about the Numpy-discussion mailing list