#include <leastsquare.h>
Inheritance diagram for LeastSquareFunction::

Public Types | |
| typedef double | value_type |
| value type of the vector. | |
Public Methods | |
| LeastSquareFunction (LeastSquareProblem< V, M > &lsp) | |
| Default constructor. | |
| virtual | ~LeastSquareFunction () |
| Destructor. | |
| virtual value_type | value (const V &x) |
| compute value of the least square function. | |
| virtual void | firstDerivative (V &grad_f, const V &x) |
| compute vector of derivatives of the least square function. | |
| virtual value_type | valueAndFirstDerivative (V &grad_f, const V &x) |
| compute value and vector of derivatives of the least square function. | |
| virtual void | Update () |
| to improve. | |
| virtual void | Save (OptimizationMethod< V > &) |
| to improve. | |
Protected Attributes | |
| LeastSquareProblem< V, M > & | lsp_ |
| least square problem. | |
Definition at line 42 of file leastsquare.h.
1.2.9 written by Dimitri van Heesch,
© 1997-2001