commit | 2fc0ed6143ad499d6dc82d621ff5ec69170beb52 | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Tue Jan 15 11:34:10 2013 -0800 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Fri Jan 18 13:06:31 2013 -0800 |
tree | 5645fb589824a15614407817578601749c2839ca | |
parent | 9c5acce674e3ec1ba08509123ff519f106cc4348 [diff] |
Change NumericDiffCostFunction to accept variadic functors. The interface for NumericDiffCostFunction and AutoDiffCostFunction are not comparable. They both accept variadic functors. The change is backward compatible, as it still supports numeric differentiation of CostFunction objects. Some refactoring of documentation and code in auto_diff_cost_function and its relatives was also done to make things consistent. Change-Id: Ib5f230a1d4a85738eb187803b9c1cd7166bb3b92