Add gMock matchers that explain mismatches to the test utilities Expectation helpers and norm comparisons report neither the compared values nor the mismatch location, so failures are hard to diagnose. Add matchers for relative scalar, matrix norm, coefficient-wise matrix and Jet comparisons that explain mismatches including the row and the column of the offending coefficient. Relative matrix distances are symmetric in the compared matrices and become absolute for zero matrices, matching the scalar comparison. Share √2/2 as a constant across tests. Change-Id: Ia07aef9f5c1dc222284e99734c099d375ceca4c1
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 the Ceres Solver website for more information.