Check version of Eigen
- Google 先生に聞けばすぐに分かることなのだが。Macros.h にdefine されている。
EIGEN_WORLD_VERSION, EIGEN_MAJOR_VERSION and EIGEN_MINOR_VERSION
$ grep "#define EIGEN_[^_]*_VERSION" /usr/local/include/eigen3/Eigen/src/Core/util/Macros.h
- Link Determine Eigen version with grep
- Link How to check the version number of Eigen C++ template library?
license
権利関係は eigen のサイトに書かれている。モジラ・パブリック・ライセンスMPL2.0であり、MPL2.0以外のものを使わないように、
-DEIGEN_MPL2_ONLY
でコンパイルすれば良い。らしい。
Eigen is Free Software. Starting from the 3.1.1 version, it is licensed under the MPL2, which is a simple weak copyleft license. Common questions about the MPL2 are answered in the official MPL2 FAQ.
Note that currently, a few features rely on third-party code licensed under the LGPL: SimplicialCholesky, AMD ordering, and constrained_cg. Such features can be explicitly disabled by compiling with the EIGEN_MPL2_ONLY preprocessor symbol defined. Furthermore, Eigen provides interface classes for various third-party libraries (usually recognizable by the header name). Of course you have to mind the license of the so-included library when using them.