0

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 written 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 ?

4

3 回答 3

3

boost ublas呢?ublas 使用的boost 许可证看起来非常自由,但 IANAL。

于 2011-06-30T18:48:07.007 回答
1

我偶然发现了犰狳。它是 LGPL。虽然有据可查。

于 2011-12-21T13:57:29.097 回答
0

正如我刚刚建议的那样,Eigen 是 C++ 中的矩阵库应该采用的方式。

Eigen 绝对是目前 C++ 中最好的矩阵库。

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

我热情地建议你。

例如,此代码创建一个随机 10x10 矩阵并计算其逆矩阵:

矩阵Xd A(10,10); A.setRandom(10,10); MatrixXd B = A.inverse(); 您可以访问所有数值矩阵代数事物,例如分解、线性系统求解和其他几何算法。

它只是标题,没有外部依赖,没有安装。它适用于大量编译器,并且维护和记录良好。

于 2012-03-06T08:33:11.257 回答