Re:The NumPy array: a structure for efficient numerical comp...
by jdlyga on Monday August 01, 2016 @02:04AM
(#12200478)
If only it was also available for C++. Armadillo is nice but it has a lot of important differences, and doesn't seem to support more than 3 dimensional matrices.
[ Parent
| on HN ]
Re:The NumPy array: a structure for efficient numerical comp...
by keypusher on Monday August 01, 2016 @03:13AM
(#12200678)
There was some effort toward getting it in Boost. https://github.com/ndarray/Boost.NumPy
Re:The NumPy array: a structure for efficient numerical comp...
by naveen99 on Monday August 01, 2016 @10:13AM
(#12202497)
Arrayfire is c++ with Opencl, cuda, and cpu back ends. Limited to 4d.
http://arrayfire.com/indexing-with-arrayfire/
Re:The NumPy array: a structure for efficient numerical comp...
by lloda on Monday August 01, 2016 @07:05AM
(#12201481)
Here is my Blitz++-inspired hobby project, supports arbitrary rank: https://github.com/lloda/ra-ra
I'm sure you can find more polished efforts if you look around.
Re:The NumPy array: a structure for efficient numerical comp...
by srean on Monday August 01, 2016 @06:36AM
(#12201338)
If you want multidimensional arrays in C++, then blitz++ is your friend.
There is Eigen but it wont do multidimensional stuff. Although there might be a few projects out there that wrap the multidimensional functionality around Eigen arrays.
Re:The NumPy array: a structure for efficient numerical comp...
by kersny on Monday August 01, 2016 @10:04AM
(#12202428)
One such multidimensional extension of Eigen is from Google and I believe was extracted from TensorFlow:
https://bitbucket.org/eigen/eigen/src/039efd86b75ce1b72befb7...
Re:The NumPy array: a structure for efficient numerical comp...
by chombier on Monday August 01, 2016 @06:35AM
(#12201327)
You might want to check out the Eigen library: http://eigen.tuxfamily.org/