commit | 747845fc82987ef61025e1b279a58de4a4bad5df | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Wed Nov 07 18:14:54 2012 -0800 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Thu Nov 08 10:40:18 2012 -0800 |
tree | 0535b8cde25d90a50f93017b4511e4e114b6f6ca | |
parent | bdabc29d9096ba79954b005d71d8c86ccc9feee8 [diff] |
Add the GradientChecker. The GradientChecker is a utility class written by William Rucklidge that can be used to check that the derivatives returned by a cost function match those returned by numerically differentiating the residuals returned by the same cost function. This is useful when developing CostFunction objects and testing them before plugging them into an optimization problem. Change-Id: Ic60f859b48b6246406448555d25556784e097b81