mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
fdeb5772cc5eeebca4d776d220d80cc91b6d0f74
This commit modifies the only function in autodiff that takes a templated number of outputs (i.e. residuals) and makes that template parameter a normal parameter. With that change, it is a trivial matter to support a dynamic number of residuals. The API for dynamic residuals is to pass a fake number of residuals as the second template argument to AutoDiffCostFunction, and to pass the real number of parameters as a second constructor argument.
Ceres Solver - A non-linear least squares minimizer ================================================== Please see ceres.pdf in docs/ for a tutorial and reference.
Description
Languages
C++
94.4%
CMake
3.8%
Python
0.8%
C
0.5%
Starlark
0.4%