TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: A good C++ multi-dimensional array library?

6 点作者 hatred超过 11 年前
I was working on a project which involved replacing our old numerical library back-end to some other newer alternative. I had a look at the possible options(Eigen&#x2F;NT2&#x2F;Armadillo&#x2F;MTL4 among others) and decided to move on with Eigen. However, Eigen does not have a multi-dimensional array implementation. It can only support upto 2-D arrays. I was wondering if there are some C++ multi-dimensional libraries you folks might know of ?<p>Upto now, all I could find was:-<p>- Boost MultiArrays( specifying dimensions and size at compile time make it a no-go for me ) - Blitz++ ( same issues as above i.e. dimension needs to be specified at compile time )<p>It will be great if I could find something like a free version of RogueWave arrays which can be declared without specifying dimensions.<p>Thanks for reading through the post.

2 条评论

slavio超过 11 年前
Sparse matrices or not? You could look into OpenCV&#x27;s Mat and SparseMat here: <a href="http://docs.opencv.org/modules/core/doc/basic_structures.html#Mat" rel="nofollow">http:&#x2F;&#x2F;docs.opencv.org&#x2F;modules&#x2F;core&#x2F;doc&#x2F;basic_structures.htm...</a>
评论 #6601604 未加载
torrent超过 11 年前
I dont know which operations you are going to do with the arrays but what about just use a array of arrays or matrices of matrices of matrices of...?
评论 #6601616 未加载