Re: [eigen] Eigen for n-dimensional matrices/array

[ Thread Index | Date Index | More Archives ]

Eigen does have support for n-dimensional arrays ("tensors") in the unsupported/Eigen/CXX11/src/Tensors tree.

Benoit Steiner is the main developer and this code forms the foundation or much of Google's TensorFlow system.


On Thu, Oct 6, 2016 at 9:07 AM, Michael Bieri <mibieri@xxxxxxxxx> wrote:
Hi there,

It's still cumbersome to work with more-than-1-dimensional (numeric) arrays in C++. Convenient allocation or indexing is not possible in C++ itself. Not to mention things like slicing...

Eigen is a very helpful library to make it easier. I just wonder: Why does Eigen only support 2 D arrays/matrices? Even in linear algebra, for example in Matlab or NumPy one sometimes use things like a "stack of matrices" or a 3 D image.

Is it somehow possible/planned to handle n-D matrices/arrays?

Best regards,

Mail converted by MHonArc 2.6.19+