How to check the version number of Eigen C++ template library?

后端 未结 2 956
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-11 22:38

I added several different versions of Eigen to default including directory of Visual C++. But I got collapse problem when using LDLT (Cholesky decomposition) for so

相关标签:
2条回答
  • 2021-02-11 23:10

    In order to check the version number of Eigen C++ template library, just type

    dpkg -p libeigen3-dev
    

    in the terminal. Or just type

    pkg-config --modversion eigen3
    

    you will get the Eigen version.

    0 讨论(0)
  • 2021-02-11 23:19

    This answer is only a summary from the comments above:

    • At compile-time you have EIGEN_WORLD_VERSION, EIGEN_MAJOR_VERSION and EIGEN_MINOR_VERSION, you can easily embed this information in your application.

    • 3.1.91 sounds like a beta version of 3.2.

    • The version number macros are defined in Macros.h located at \Eigen\src\Core\util\.

    0 讨论(0)
提交回复
热议问题