Modernize InvertPSDMatrix with if constexpr Use if constexpr for kSize checks in InvertPSDMatrix to allow for dead-code elimination at compile time. This ensures that for small fixed-size matrices, only the inverse() path is compiled, and for larger or dynamic matrices, only the LLT path is compiled when assume_full_rank is true. Change-Id: I4def2faadd080a4defccf1c0527015ae004f20ce
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.