commit | 2f0d7249ccedac8183e6e5a9cb45ca7c51bb6b41 | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Fri Jan 18 13:11:32 2013 -0800 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Fri Jan 18 14:01:47 2013 -0800 |
tree | a192b9090b7110206354f44acd69a36e2fc6721b | |
parent | 2fc0ed6143ad499d6dc82d621ff5ec69170beb52 [diff] |
NumericDiffFunctor. A wrapper class that takes a variadic functor evaluating a function, numerically differentiates it and makes it available as a templated functor so that it can be easily used as part of Ceres' automatic differentiation framework. The tests for NumericDiffCostFunction and NumericDiffFunctor have a lot of stuff that is common, so refactor them to reduce code. Change-Id: I83b01e58b05e575fb2530d15cbd611928298646a