Add MSVC-specific #define to expose math constants in <cmath>. - MSVC does not expose standard math constants, such as M_PI in <cmath> or <math.h> unless _USE_MATH_DEFINES is defined prior to their inclusion: https://msdn.microsoft.com/en-us/library/4hwaceh6.aspx. - Use CMake to ensure that this is #defined when both Ceres and the examples are compiled, even though it should only be an issue for the examples where M_PI is used. Change-Id: I67af75b100b8138a65514273d23bfe445d92652c
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.
Ceres development happens on Gerrit, including both repository hosting and code reviews. The GitHub Repository is a continuously updated mirror which is primarily meant for issue tracking. Please see our Contributing to Ceres Guide for more details.
The upstream Gerrit repository is
https://ceres-solver.googlesource.com/ceres-solver