开发者

Looking for a C++ open source matrix storage library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

The library needs to:

  1. record vector or matrices in "frames" (timestamped)
  2. enable multiple streams and markers

It would be good if the library:

  1. had a BSD licence
  2. was well documented
  3. was wri开发者_开发技巧tten in C++
  4. enabled non-linear access

I have found a library that is very interesting and does points (1) and (2): SDIF. But the documentation is lacking and the license is LGPL.

Any recommendations ?


What about boost ublas? The boost license that ublas uses looks pretty liberal but IANAL.


I stumbled across Armadillo. It is LGPL. Well documented though.


As I have just suggested, Eigen is the way a matrix library in C++ should be.

Eigen is definitely the best matrix library in C++ at the moment.

http://eigen.tuxfamily.org/index.php?title=Main_Page

I warmly suggest you.

For example this code creates a random 10x10 matrix and compute its inverse:

MatrixXd A(10,10); A.setRandom(10,10); MatrixXd B = A.inverse(); you can have access to all numerical matrix algebra things, such as decompositions, linear system solving and other geometry algorithms.

It's only headers, no external dependency, no installation. It works for a large range of compilers and is very well mantained and documented.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜