Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

3 simple questions about the usage and future of the excellent eigen library:

  1. Does it have a reason why the access to Matrices is not possible via matrix[i][j], but only via matrix(i,j)?
  2. Are there plans to implement such a syntax?
  3. Will there be an implementation of multidimensional arrays matrix[n][m]...[l]?

I really like the eigen library, it is fast and easy to use. The only thing missing for me are really multidimensional arrays.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
571 views
Welcome To Ask or Share your Answers For Others

1 Answer

Multidimensional arrays are supported through the new Tensor module:

http://eigen.tuxfamily.org/dox-devel/unsupported/group__CXX11__Tensor__Module.html


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...