lubgr / tsym

Tiny symbolic library
GNU General Public License v3.0
6 stars 2 forks source link

how to solve det of a matrix? #26

Closed zhangfq-chemistry closed 3 years ago

lubgr commented 3 years ago

Thanks for your question, @zhangfq-chemistry! Have a look at the README in the toplevel directory of the repo - you can find an example how to compute the determinant of a matrix, and let me know if you have specific questions. Note that this library doesn't ship with its own matrix/vector types, but let's you use anything that has overloaded call or subscript operators (e.g. Eigen matrices, Boost UBLAS, std::vector<std::vector<tsym::Var>> etc.