#include <costfunction.h>
Inheritance diagram for CostFunction::

Public Methods | |
| virtual value_type | value (const V &x)=0 |
| method to overload to compute the cost functon value in x. | |
| virtual void | firstDerivative (V &grad_f, const V &x) |
| method to overload to compute grad_f, the first derivative of the cost function with respect to x. | |
| virtual value_type | valueAndFirstDerivative (V &grad_f, const V &x) |
| method to overload to compute grad_f, the first derivative of the cost function with respect to x and also the cost function. | |
| virtual double | finiteDifferenceEpsilon () |
| Default epsilon for finite difference method :. | |
Definition at line 20 of file costfunction.h.
1.2.9 written by Dimitri van Heesch,
© 1997-2001