[eigen] Eigen for n-dimensional matrices/array
• To: eigen@xxxxxxxxxxxxxxxxxxx
• Subject: [eigen] Eigen for n-dimensional matrices/array
• From: Michael Bieri <mibieri@xxxxxxxxx>
• Date: Thu, 6 Oct 2016 18:07:30 +0200
• Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=LXOW5U4U4UQifvY0Pm44ayLhNmxwz0HjNGNz7R9xPV8=; b=u7FhIbC27H2gIH2H1c4GP0IwdTagSfgIupkLs6/0rCbLgO79nd8MMuaSeNU1gM4XQB hqgIF3ho+pP7G9ef64dBx1cyaqnnB5fZIvv1Vuknm+QvSF2GaFECmEAn4QUU/g+g7rib WjXpkeUq+j5+40sk9KgbjGENUwDjWWo+p0gyvmCzqhqthDboZONhzmaVoUj/8chCXJmr Qb72bc/XVDa2mJt6NOZFldapFx04IEcTMPn38o3M14dZEx5wxu4d0rKNDh7R2oP/ei6Y 7MvxgbYEwviCDVLpzK+9T8fT605vfB0s86vTU041op4PHZq0+I21KJdguUylYYsAW+ak QxFA==

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,
Michael

 Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/