commit | 2a1dfd2b7110117dc959d9bd7ecfd3c4da7d10d3 | [log] [tgz] |
---|---|---|
author | David Gossow <dgossow@google.com> | Tue Jun 16 14:10:56 2015 -0700 |
committer | David Gossow <dgossow@google.com> | Thu Jun 18 16:01:15 2015 -0700 |
tree | c307361cbf2f46c26caebfab0d7adae7bb53bf76 | |
parent | 6d1dedad50dc16077a154a0fe71ef16eaaf41bf4 [diff] |
Add DynamicCostFunctionToFunctor. This adds a new wrapper class called DynamicCostFunctionToFunctor that closes a gap in the current API: the existing CostFunctionToFunctor can only be used with a SizedCostFunction, where the number and sizes of all parameter vectors are known at compile-time. The DynamicCostFunctionToFunctor allows you to wrap a generic CostFunction into a templated functor which can then be used in a DynamicAutoDiffCostFunction. Also updates the existing CostFunctionToFunctor class to internally use DynamicCostFunctionToFunctor. Change-Id: I088adc3271c58d2519126c27037c3576965a36d6
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