5 ms·
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 matrice
by jdlyga 10y ago
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.
- keypusher 10y agoThere was some effort toward getting it in Boost. https://github.com/ndarray/Boost.NumPy https://github.com/ndarray/Boost.NumPy
- chombier 10y agoYou might want to check out the Eigen library: http://eigen.tuxfamily.org/ http://eigen.tuxfamily.org/
- srean 10y agoIf 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.
- kersny 10y agoOne such multidimensional extension of Eigen is from Google and I believe was extracted from TensorFlow: https://bitbucket.org/eigen/eigen/src/039efd86b75ce1b72befb7e0a5bd069baacb17b7/unsupported/Eigen/CXX11/src/Tensor/README.md?fileviewer=file-view-default https://bitbucket.org/eigen/eigen/src/039efd86b75ce1b72befb7...
- lloda 10y agoHere is my Blitz++-inspired hobby project, supports arbitrary rank: https://github.com/lloda/ra-ra https://github.com/lloda/ra-ra I'm sure you can find more polished efforts if you look around.
- naveen99 10y agoArrayfire is c++ with Opencl, cuda, and cpu back ends. Limited to 4d. http://arrayfire.com/indexing-with-arrayfire/ http://arrayfire.com/indexing-with-arrayfire/
- mamcx 10y agoAlso something like this but for .NET?