commit | 9c5acce674e3ec1ba08509123ff519f106cc4348 | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Sun Jan 13 22:14:12 2013 -0800 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Fri Jan 18 11:43:48 2013 -0800 |
tree | e3e69e172b5df482b757e22b3b64df8cc690ff92 | |
parent | c89ea4b9de588e2e2e82c54cd1c30cddb11454c5 [diff] |
Add CostFunctionToFunctor. CostFunctionToFunctor wraps a CostFunction, and makes it available as a templated functor that can be called from other templated functors. This is useful for when one wants to mix automatic, numeric and analytic differentiated functions. Also a bug fix in autodiff.h Change-Id: If8ba281a89fda976ef2ce10a5844a74c4ac7b84a